Hacker News new | ask | show | jobs
by theonemind 1430 days ago
I used to write pseudo-code that didn't compile for one pass, working out logic, then work through turning it into code on a second pass. Generally, stuff I pseudo-coded seemed much less buggy than stuff I wrote straight in as compilable, presumably because I didn't have much besides program-logic to concern myself with. Translating it to something compilable was pretty mechanical, since I wrote something in the ballpark; I just didn't worry about syntax at all.