News for hackers. Stuff that matters.
Re:Challenging projects every programmer should try by DeathArrow on Tuesday December 26, 2023 @01:30AM (#38769368)
>Not all hackers are overly obsessed with the most efficient Big O and various low level (sorry pun intended) details.

A NAND gate is low level. Big O is just theory that anyone should know if he's worth something as a programmer.

Re:Challenging projects every programmer should try by Arcanum-XIII on Tuesday December 26, 2023 @02:22AM (#38769568)
Most of the time, big O is not relevant if you're not writing new algorithm. For the usual CRUD app? Not so much. Heck even for more involved work, you will not touch them because your solution will be called or will call some external tools.

The good news is that, while still valuable, you won't have to lose time creating a new broken wheel. The bad news is that this part of CompSci is now mostly fundamental research.

Re:Challenging projects every programmer should try by atq2119 on Tuesday December 26, 2023 @02:34AM (#38769624)
And then you get needlessly inefficient CRUD apps that take minutes or even hours to generate a simple report because they're doing accidentally quadratic or even cubic work somewhere.
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.
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.

Re:Challenging projects every programmer should try by aardvark179 on Tuesday December 26, 2023 @07:06AM (#38771087)
Understanding algorithm costs can be extremely important when building a simple CRUD app because it will help you reason how things will scale with the size of the data you’ll see in the real world.

It’s easy to make things that are accidentally quadratic but are fine until your big customer has 10 times the data and they suddenly aren’t fine anymore.

Doesn’t mean you need to optimise everything, but it doesn’t mean you shouldn’t think about this stuff.

Re:Challenging projects every programmer should try by jstanley on Tuesday December 26, 2023 @09:16AM (#38771918)
> Most of the time, big O is not relevant if you're not writing new algorithm

This attitude is precisely why we have computers thousands of times more powerful than we had in the 90s, and yet they perform the same tasks slower.

Re:Challenging projects every programmer should try by baq on Tuesday December 26, 2023 @01:00PM (#38774095)
It becomes very important as soon as you start getting statement timeouts in your db queries.