Re:Challenging projects every programmer should try
by sfn42 on Tuesday December 26, 2023 @03:24AM
(#38769865)
This is just wrong. Understanding the difference between O(1), O(n) etc is essential for literally everyone who writes code. Every single programmer is better with this understanding than without it. You should know the complexity of the code you write - and most of the time that doesn't even require actively thinking about it. If you know the basics of complexity analysis it's just intuitive.
[ Parent
| on HN ]
Re:Challenging projects every programmer should try
by yakshaving_jgt on Tuesday December 26, 2023 @07:40AM
(#38771281)
> Understanding the difference between O(1), O(n) etc is essential for literally everyone who writes code.
No it isn’t.
It’s a great thing to learn and understand, and essential for designing and maintaining data-intensive systems, but your statement simply isn’t true.
Re:Challenging projects every programmer should try
by sfn42 on Tuesday December 26, 2023 @09:41AM
(#38772144)
Sure, you don't strictly need it to write working code. But you will very quickly run into situations where you're writing unnecessarily slow code because you don't know what you're doing.
To me, it's essential.