With today’s compilers, as compared to the past , you can write a program, compile it, and test it yourself. Basically, a compiler will report problems it finds in your code. Upon seeing the errors generated, you can correct it and recompile it until you get everything right.