Get the latest tech news
Left to Right Programming
Programs Should Be Valid as They Are Typed
†[The most elegant solution here is Haskell’s map words $ lines text but that breaks all the principles I’m arguing for.] Since the program is always in a somehwat valid state as you type it, your editor is able to guide you towards the Pit of Success. While the Python code in the previous example is still readable, it gets worse as the complexity of the logic increases.
Or read this on Hacker News