r/programming • • 4h ago

CS Fundamentals are still important

https://faidi.tech/posts/fundamentals-change-how-you-learn/
123 Upvotes

31 comments sorted by

98

u/IanisVasilev 4h ago

I believe the phrase "CS fundamentals" is supposed to refer to abstract concepts like graphs, automata and type systems, and only after that to (far more concrete) shells and networks.

52

u/ConnaitLesRisques 4h ago

After discussing with a couple of former professors of mine, I’m absolutely dreading working with the people who will be joining the workforce within a couple of years.

-23

u/IanisVasilev 3h ago

I dread talking with professors lest they start pitching me AI subscriptions. Many of them are more obsessed with thinking-as-a-service than naive youngsters who do not know any better.

-5

u/eJaguar 37m ago

Is there anything you can do that I as a single engineer with a swarm of ai agents cannot?

4

u/wordbit12 4h ago

I think it includes all of those. What's often taught to undergrad CS students. Though, perhaps, one might argue that there is no agreed upon CS curriculum or vision. But I feel there is some good shared wisdom in many curricula. e.g. teaching discrete math and algorithms

-1

u/eJaguar 38m ago

type systems are hardly fundamental.

18

u/jhartikainen 3h ago

I've been toying with the idea about fundamentals being important lately and 100% agree. I think the problem is that what those fundamentals are can vary a bit, there are multiple "layers" of fundamentals, and usually people don't understand their value (they don't realize the value on their own, nobody tells them, or if they are told "it's important", they aren't told why in a concrete enough way)

I think there are also necessary "fundamentals" beyond just programming ones. Good communication skills I think are increasingly valuable, as are learning related skills (picking up new things, or just figuring out problems), and the fundamentals of these (or even nonfundamentals) I don't think are taught or explained much.

8

u/wordbit12 3h ago edited 3h ago

An example crosses my mind now: it was in my first year in college; we were working on an assignment, and a classmate was seeing me coding; he was surprised that I was writing and composing function calls before even creating any of the functions, a simple technique I learned in a functional programming course, often called "wishlisting" or "wishful thinking," i.e., I imagine I already have the helper functions.
I also remember Peter Norvig's Design of Computer Programs course. One student asked in comments about the same thing and found it interesting that Peter would start using functions before he wrote any of them.
It seems many of these practical skills are left for students to learn on their own.

2

u/jhartikainen 3h ago

That's an interesting example. I've never heard of or seen anyone use this "wishful thinking" type approach in the manner you describe. But I do see a pretty clear connection to how test-driven development works in my experience, because this is pretty much exactly what you do when you work with TDD (because you write the test with the "missing function" up front, etc.)

2

u/wordbit12 2h ago

Yeah, a very good connection; it's really like TDD. I first learned it in the book How to Design Programs. The book borrows some ideas from TDD, in fact even the idea of running your tests to make sure they fail!

0

u/Snarwin 1h ago

It's very often the case in computer science that the same underlying idea is referred to by different names in different contexts. One big benefit of learning fundamentals is that it helps you recognize these ideas when they appear in unfamiliar contexts under names you haven't heard before.

1

u/wordbit12 28m ago

I agree. I'd even say learning fundamentals well might correlate with how much a person likes and enjoys this field.

1

u/Wonderful-Habit-139 2h ago

This is a very useful skill. Especially since most people use LLMs to overcome writer's block, so that's a nice technique that I might suggest to some people that are struggling with coding.

Also, I know Test DD was mentioned but you'd also really love Type DD as well. That's something that goes really well with this technique that you mentioned and it's not tedious at all.

2

u/wordbit12 3h ago

Absolutely agree, I've been feeling this, that a lot of useful knowledge and skills, whether in software or elsewhere, are often implicit and rarely taught explicitly. Heck, even in programming, many ways of thinking and patterns are rarely taught well.

3

u/editor_of_the_beast 2h ago

People are going to come back and read convos like these and they’re going to sound so silly. Fundamentals are important because they are _fundamental_. They will never not be important. AI doesn’t change the fact that we live in a physical world with rules. We know quite a bit about that world, and AI will not change that.

Conversely, if it no longer becomes important, then it wasn’t a fundamental to begin with. I also think that we also put too much stock in a lot of ideas being more important than they really were.

1

u/jhartikainen 1h ago

Yeah I mean it's somewhat obvious in retrospect that something is fundamental and thus important, but the challenge is in identifying what the fundamentals are, and communicating it to a learner in a way that they understand its value - because simply saying "it's fundamental!" isn't enough when there's so much a beginner has to learn, and something else might bring a more visible benefit.

0

u/eJaguar 39m ago

the word fundamental is doing a lot of heavy weight here

1

u/drink_with_me_to_day 36m ago

those fundamentals are can vary a bit

They don't. Software and configuration aren't fundamentals

Algorithms and data structures are

10

u/DaBigSnack 3h ago

There’s two categories I think are really important now.

Intangibles:

Things like tenacity, just never giving up on a problem and having that natural drive to never give up and need to solve a problem. People who can’t sleep if they don’t know why something went wrong.

Practical Software Engineering experience:

Things like knowing when a system is too complex or too shallow to support future efforts. I know implementation is cheap but in some larger system choices made on the first implementation can have huge ramifications with building ontop of it. What might look good in isolation may not mesh with the overall systems and the cost of getting it wrong may not be a time thing but a trust breaker with your customers if you’re constantly having to take shit down to migrate poor db structures.

AI can do so so much quickly, but in the hands of a good developer with intangibles, man.

6

u/wordbit12 3h ago

Reminds me of Pragmatic Programmer. There is one section I love where it says that a good software developer is someone who can realize when a technical solution won't solve the client's problem. That requires a lot of human experience and understanding.

-7

u/IanisVasilev 3h ago
  1. What you call "intangibles" I call obsession and should not in any way be encouraged.
  2. You cannot get practical experience without doing, by definition.

6

u/wordbit12 3h ago

I think u/DaBigSnack meant " in the hands of developers who gained a lot of hands-on experience then started to use AI".
And don't take what he said about "intangibles" too seriously. He probably just meant that people should give a shit about what they're doing.

2

u/DaBigSnack 2h ago

Right, giving at shit and some people just love solving problems.

2

u/mfizzled 1h ago

I genuinely could never have actually become a developer without the intangibles they described, being driven and persistent in a healthy way is definitely not an obsession.

44

u/pineapplepizzabong 3h ago

The fundamentals (in any context) are always important; that's why they're called the fundamentals.

1

u/_w62_ 3h ago

Fundamentals are always important.

-2

u/Aubrey_D_Graham 3h ago

Software fundamentals are becoming increasingly important. I spend a lot of my time now setting standards for my agent outputs and verifying correctness. I develop around priciples like SOLID and TDD

2

u/wordbit12 2h ago

Awesome, I'm currently learning TDD (university of Helsinki made a mooc about it last year) and it's amazing, a very different experience.

-3

u/Aubrey_D_Graham 2h ago

Yup. Define a happy path. Write tests that mock up the happy path. Have your Agent write according to spec, requirements, and testing. Verify. Later test for edge cases.

-15

u/ma_251 4h ago

The humble $200/mo subscription vs engineers still yapping about some concepts

1

u/eJaguar 36m ago

based