News for hackers. Stuff that matters.
Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by teddyh on Saturday August 13, 2022 @04:43AM (#32448013)
“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”

— Brian Kernighan

Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by frou_dh on Saturday August 13, 2022 @06:01AM (#32448371)
That doesn't really refute the point that Carmack made. Namely that a lot of the supposed inherent difficulty in the endeavour of debugging is actually incidental from a general cultural attachment to crap old tooling.
Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by teddyh on Saturday August 13, 2022 @02:44PM (#32452597)
And I believe the point of Kernighan, as well as Torvalds, is that the difficulty of debugging serves as a bulwark against over-complicated code.
Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by frou_dh on Saturday August 13, 2022 @03:50PM (#32453146)
So that's why ed(1) is the standard text editor. Anything more usable is a dangerous extravagance! :)
Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by TinkersW on Saturday August 13, 2022 @07:22AM (#32448812)
Sounds like Brian has never used a good debugger
Re:John Carmack: Best Programming Setup and IDE – Lex Fridma... by pjmlp on Sunday August 14, 2022 @12:19AM (#32456291)
UNIX has never been the place of cool graphical debugging anyway.