5 ms·
I started writing code in a more literate style recently (where the code is a document with markdown interspersed with the code segments) and found that writing
by niggler 14y ago
I started writing code in a more literate style recently (where the code is a document with markdown interspersed with the code segments) and found that writing what I want to do first makes the development process much easier than just delving into code. Feels like writing a paper in many ways (you write the outline, flesh with your thoughts on how it should work, and then start writing code)
I put this tool together on a whim (although the github rendering is somewhat strange because I took liberties with the fenced code blocks): https://github.com/niggler/voc https://github.com/niggler/voc
- dicroce 14y agoI think the next level for you is to do the thinking before coding that your doing now, but just skip the commenting part...
- niggler 14y agoI used to plan in my head / on whiteboard, but that doesn't scale well when you want to start handing code off to your employees.
- Evbn 14y agoSo that every time some reads the code they have to repeat the thinking from scratch? Even better: after writing then program, run it and save the output and throw away the source code, yeah?