3 ms·
"Unexpected constraint" is a very curious choice of words. In my experience, when you teach novice programmers, braces and semicolons are the unexpected constr
by dietrichepp 10y ago
"Unexpected constraint" is a very curious choice of words. In my experience, when you teach novice programmers, braces and semicolons are the unexpected constraints. Line breaks and indentation is a bit more expected to the novice programmer. ("Optional semicolons" like in JavaScript seem to be the worst of both worlds.)
Programmers with experience will expect things to behave like the languages they know. If you are experienced with Python, Haskell, or YAML, they won't seem like surprises.
Funny that Notepad++ and Kwrite have given you problems, those are usually fairly good editors and should be able to write Python / Haskell / YAML just fine. I wonder what happened to cause those problems.