r/vibecoding • • 3d ago

Discussion Coding was always the hard part.

Post image

Bros, we gotta stop saying "coding was never the hard part.." Before AI, it was frickn hard bro..

We get it bro, product-market fit is hard too. You coded 20 apps and only one got 3 users.... and bro, for every app you coded, 500 other people didn't code anything.

Tell the farmer growing crops was never the hard part.

411 Upvotes

753 comments sorted by

View all comments

59

u/SeasawPhilosopher 3d ago

Yeah the whole coding was the easy part is so stupid. Companies were paying software engineers 200-500k a year, and coding was the bulk of the work, yet supposedly it’s easy. Come on. I was coding for 30 years, and it’s damn hard, so hard that even the best engineers cannot write bug free code. And if coding is so freaking easy why do people have to grind 100s of hours of leetcode problems to pass interviews?

13

u/No_Beach7780 3d ago

I used to teach entry level programming. I'm not super talented beyond that.

Towards the end of the year when my kids were asking "What's next? Where do we go from here?" but most importantly "What does the end of the road look like?".

For the last question, I would find the source code of some major open source product and scroll down the code so they could see what was ahead of them.

I would frame the conversation in a positive light, but I would say "You all are finishing step 1. This program is step 100. Don't worry about step 100. Just focus on step 2." and then remind them I was barely on step 5 myself.

11

u/vikingwhiteguy 3d ago

It's both hard and easy. Probably 90% of the code in the world isn't complicated. It's mostly get thing from a field, pass it along to a service, fiddle with it a bit, shove it in a database. Get thing from database, pass it to a service, fiddle with it, shove it on a page. 

The hard part is when you've got your beautiful system that gets a client and efficiently retrieves a list of all their subscriptions... And then your PM says "hey instead of getting subs by client, we ACTUALLY want to get all the subscriptions and list all the clients by sub. and we need it for release by friday". 

Now you need to invert all your queries, rewrite the service, redo the page, and most of the tests you wrote are probably useless. 

Designing a system that is resilient to what it's supposed to do, does it efficiently, and flexible to accommodate rapidly changing requirements.. that's the hard part, both with and without an LLM. 

→ More replies (7)

4

u/Mestyo 2d ago

Would a novelist say that "English is the hard part of being an author"?

If you have written code for 30 years, then surely you are aware that there is significantly more to being a programmer than just writing code. "The hard part" of the job is almost always planning, rollout, communication, and how those things relate back to the code.

Of course there are exceptions, but the vast majority of software is genuinely not difficult to write.

0

u/[deleted] 2d ago

[deleted] — view deleted comment

→ More replies (1)

2

u/SeasawPhilosopher 2d ago

You’re confusing understanding a language with writing/programming. Yeah it’s not that hard to understand a programming language, but programming is not just that it’s the act of representing the solution to a problem in that language. It’s a creative act somewhat similar to writing actually just with different goals.

→ More replies (3)
→ More replies (4)

7

u/meow-thai 3d ago

I'm going to disagree here, and to contextualize this I'm an engineer with 20 years in the field. In my experience, coding is definitely not the hard part. Architecture, patterns, structure, teamwork, deadlines, and engineering realities are almost always harder.

Code is the hard part when you're interacting with poorly written and poorly documented code. It's the hard part when reasonable architecture and patterns aren't used. But at that point, the coding isn't the hard part anymore. The hard part is effectively dealing with people that don't really know what they're doing.

Frankly, a lot of the AI generated code I've seen is far better than a lot of the human written code I've interacted with professionally. And honestly, engineers aren't getting paid 200k+ a year to mostly code and if it's the bulk of the work you're likely doing something wrong.

→ More replies (3)

7

u/ghostmastergeneral 3d ago

💯 “Coding was never the hard part/bottleneck/whatever” is technically true because it’s not the hard part. It’s just a hard part. There are a number of hard things involved.

But if code wasn’t one of them, why is so much of the code running society so fucking bad? Why has the whole industry been bitching about leetcode for the last decade? Why is the JS on Amazon.com like 2M lines longer than it would be if more than like 50 people in the company knew CSS?

And if it’s not hard, why can so few people do it despite the payoff of learning being so high?

3

u/casce 3d ago

But if code wasn’t one of them, why is so much of the code running society so fucking bad?

Because good code requires discipline more than anything else and humans are generally... not very disciplined.

Is documentation hard? Then why is so much of the documentation in so many companies to fucking bad? It's not hard. It's tedious. And humans are lazy.

The thing with coding is: Not the code itself was hard, it was breaking down the problem so it can easily be solved with code in the first place. But who are we fooling? AI isn't just doing the coding for us, it's also doing that step. We're not "solving" problems anymore, we're just describing them to the AI.

2

u/Intelligent_Part101 3d ago

You also don't get rewarded or recognized for writing documentation. In fact, spending significant time on that takes away from what your employer does value: writing code.

→ More replies (2)
→ More replies (1)
→ More replies (11)

2

u/hike_me 3d ago

The hard part is knowing the right way to solve a problem, not translating that to a specific programming language

3

u/SeasawPhilosopher 3d ago

Sure but you do not solve the problem in a vacuum, you are using the abstractions provided by programming languages during this process when envisioning the solution, even if you’re working it out in your head. So as far am I’m concerned that is part of the coding process. Sure l, if you say coding is literally just sitting down to type out what you envisioned then yes, I’d agree that’s an easy translational task.

2

u/No_Vermicelliii 2d ago

Five geniuses sit around a circular table, each with a bowl of tofu and bok choy stir-fry.

Between each pair of geniuses is a single chopstick, giving them five chopsticks in total.

Each genius must alternate between thinking and eating, with the following constraints:

  1. Eating requires two chopsticks.
  2. A chopstick cannot be used by two geniuses simultaneously.
  3. Neither the food supply nor their stomach capacity is finite.
  4. No genius should starve.

How do you coordinate access to the chopsticks without introducing deadlock or starvation?

→ More replies (5)
→ More replies (14)

3

u/Meiyo33 3d ago

people paid 200-500K was not about a if else, but what to build with it, so not the code itself...

Either you dont know the field, or you never worked on a real life non trivial project.

3

u/Disastrous_Shock8305 3d ago

They're paying engineers to solve problems with code, not to write code, lol.

3

u/R_Daneel_Olivaw_792 3d ago

To solve problems with code you will have to, guess what: write code. We are being literally paid to write code.

→ More replies (8)

2

u/Entuaka 3d ago

For the first year, a SWE was able to spend of the time writing code. That was fun.

For a senior SWE, having 2 consecutive hours to write code was fun, but it was hard to find time for it, we had to delegate.

Now, we can have a similar schedule, but we can delegate to AI agents, it's much quicker and also much better when the project is optimized for AI! It's fun, we can generate a lot more code than before and directly contribute (with agents) to the product!

Changing process was also complex before AI. You had to plan it, document it, explain to everyone, they had to understand and change their way of working. Now, we can add a new tool, document it in AGENTS.md and/or a skill, merge it and it's directly used by all agents, that's much easier than before!

→ More replies (2)

2

u/Working-Caramel9538 3d ago edited 3d ago

And not many of these well paid engineers do well for themselves when they start their own thing because coding is literally the easy part of a whole. They are brilliant minds that could probably solve problems in a more elegant fashion than many alternatives on the market but they lack a little of everything.

Marketing, financing, sales, HR, customer service, managing,legal, compliance, operations, admin,R&D, IT are all crucial part of a successful product and when you're an expert in one field, it's literally the easy part.

1

u/Etudiant_ETS 3d ago

Software engineers that were given 200-500k a year weren't in a position were "coding was the bulk of the work". I'm unsure if your 30 years comment was about profesionnal work or coding on the side but your comment about this and the leetcode part shows a lack of understanding of the industry.

1

u/Dimencia 3d ago

Writing a solution that works is easy, anyone can write a pair of nested for loops that sort an array. Writing a solution that is efficient and easy to read/understand is hard, and that's the part LLMs still struggle with. That's what leetcode is for, it trains you to do the hard part of optimizing your code, not the easy part of writing it

1

u/KaradjordjevaJeSushi 3d ago

True, but that was FUN part.

1

u/PaddiM8 2d ago

People making that much were not just paid to write code, but to solve problems and design systems

1

u/JTinkz 2d ago

No matter how much you wish that to be true, it simply isn't.

1

u/Tramagust 2d ago

As a 500k engineer writing code was always maybe 10% of my job. Sure when I was earning 30k it was most of my job but as I've grown in my career the amount of coding I did decreased drastically.

1

u/No_Management_7333 2d ago

Why people need to do leet code to get a job maintaining css and writing basic CRUD backends is truly one of the greatest mysteries of past decades.

Another great mystery is how people are too brain dead to not intuitively know how to invert a binary tree without learning it by hearth.

→ More replies (82)