News for hackers. Stuff that matters.
Re:Functions and algorithms implemented purely with TypeScri... by dgb23 on Wednesday July 05, 2023 @09:39AM (#36600313)
"Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?"

- Brian Kernighan

Re:Functions and algorithms implemented purely with TypeScri... by klysm on Wednesday July 05, 2023 @09:58AM (#36600582)
So if I work hard to make a program really easy to debug, then I’m making it harder to debug?
Re:Functions and algorithms implemented purely with TypeScri... by dgb23 on Wednesday July 05, 2023 @11:18AM (#36601621)
I think the term "clever" is used to describe unnecessary complexity and indirection, which makes the code harder to debug.

I agree with the notion that simplicity is hard though.

Re:Functions and algorithms implemented purely with TypeScri... by teo_zero on Wednesday July 05, 2023 @02:02PM (#36604400)
Easy: I'll invest the same effort but for the double of time.