35 karma · joined December 22, 2019
// TestConstructor
Object o = new Object();
assertNotNull(o);
Completely bonkers, but mention it and people just look at you blankly: "....but the test coverage".
Cult-like thinking.
And that applies to other things they do: playing video games, reading a book...when they do something they go 'all in'.
I feel like this level of focus is much more of a superpower than small amounts every day (although that too is powerful, and both approaches are infinitely better than what most of us do, which is very little)
I can't wait for the next layer of complexity to be added. It will no doubt be called something like WizzlyBobATron.
They WILL be great. They'll do exactly what YOU need them to do, and nothing else.
Software at present is a disaster, partly because we're just piling on complexity all the time, thinking only of the benefits and never of the huge downsides ("fighting with tools").
No doubt it's some sprawling, insane Java monstrosity Manhattan project or suchlike.
"Yeah - 10,000 classes - completely fine and not crazy at all."
When: I use this software
Then: I should not be falsely imprisoned for 3 years.
- Take Nand2Tetris
- Take Casey Muratori's upcoming course StarCode Galaxy.
- Get some inspiration from Jonathan Blow and Casey Muratori on YouTube, and start the rabbit hole there.
- Be prepared to question a lot of the dogma that you have already absorbed.
An opinion that - in the real world - the vast majority agree with.
Funny that you've mistyped "phone" instead of "theory".
Must be a Freudian phone.
Computers are AMAZINGLY fast, EVEN running JavaScript. Most of us have forgotten how fast computers actually are.
The problem is classes calling functions calling functions calling libraries calling libraries.....etc etc
Just look at the depth of a typical stack trace when an error is thrown. It's crazy. This problem is not specific to JavaScript. Just look at your average Spring Boot webapp - hundreds of thousands of lines of code, often to do very simple things.
It's possible to program sanely, and have your program run very fast. Even in JavaScript.
Thibaut Duplessis, creator of Lichess, talks about this in a talk he gave (YouTube somewhere). He says that he's very reluctant to add new features due to the huge cost. The feature must be something very special to overcome the cost.