4 ms·
Write as much code as you can in as few files and methods as possible
by wpasc 9y ago
Write as much code as you can in as few files and methods as possible
- pavel_lishin 9y agoEverything is either a giant function, or every possible line that can be split out, is.
- jandrese 9y agoEvery line is its own factory in its own class split across three different files. There are so many layers of abstraction that your codebase looks like a hall of mirrors.
- justjash 9y agoIf a 1000 line method won't work, make it a 2000 line method.
- egeozcan 9y agoEveryday CSS gains a new way to define layout. Use all of them, all the times.
- jandrese 9y agoOr you can be one of those guys who obsessively has to use every feature in C++, especially brand new ones that have shaky support across different compilers.
- nurettin 9y agoUsed to be that guy until I found the perfect techniques that only suit me and the perfect compiler that only ICEs on the most insane of codes.