Re:Everyone can write bad code
by wpasc on Thursday February 08, 2018 @01:07PM
(#16334152)
Write as much code as you can in as few files and methods as possible
[ Parent
| on HN ]
Re:Everyone can write bad code
by pavel_lishin on Thursday February 08, 2018 @01:09PM
(#16334171)
Everything is either a giant function, or every possible line that can be split out, is.
Every 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.
If a 1000 line method won't work, make it a 2000 line method.
Everyday CSS gains a new way to define layout. Use all of them, all the times.
Or 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.