The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.