Gotta hit the mandatory puppygirl quota \s
Sleepless One
Insomniac code gorilla. I help maintain lemmy-ui and, to a lesser extent, Lemmy’s backend.
- 0 Posts
- 6 Comments
Sleepless One@lemmy.mlto Programmer Humor@programming.dev•*Angry ComSci Prof. noises*English181·2 months agoThe spoiler syntax is a bit different.
:::spoiler <label> <body> :::
For example:
Answer
3 years
Sleepless One@lemmy.mlto Programmer Humor@programming.dev•Whatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewriteEnglish01·9 months agoYeesh, I thought you were being hyperbolic, but it really is that bad! He even has this massive self report towards the end:
And how do you avoid being punished? There are two ways. One that works; and one that doesn’t. The one that doesn’t work is to design everything up front before coding. The one that does avoid the punishment is to override all the safeties.
And so you will declare all your classes and all your functions open. You will never use exceptions. And you will get used to using lots and lots of ! characters to override the null checks and allow NPEs to rampage through your systems.
Uncle Bob must be the kind of guy who makes all of his types
any
when writing Typescript.
At least it’s not XML.
Sleepless One@lemmy.mlto Programmer Humor@programming.dev•Perpetual Motion finally achieved!English01·1 year agoYou can write garbage code in rust, but the compiler will beat you with a stick for doing so.
Hermit