3 ms·
Fast hack: use a compiler for a nice language that targets the language in question. Failing that, design your software with nice abstractions, then do the com
by retrac 5y ago
Fast hack: use a compiler for a nice language that targets the language in question.
Failing that, design your software with nice abstractions, then do the compiler's job and strip them all out and turn it into a bunch of if/gotos. Preferably with vague (ideally numeric!) label statements.
Otherwise I'm not sure it's actually possible to write anything larger than a couple hundred lines without paying homage to design patterns and consistency, if only in your head. It took me a long time to learn that code's greatest enemy is the task of holding up its own weight.
- kbrannigan 5y agoI don't want to be that extreme. But I see your point. Do you prefer then to grow organically, or do you enforce then from the start?
- deleted 5y ago[deleted]