I don't know why it happens, may be due the number of lines that you write, but if you make a mistake, the compiler prints errors on lines that doesn't make sense at all, you need to read line-per-line until you see what you've made wrong... it sucks.