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.

379 Upvotes

734 comments sorted by

View all comments

Show parent comment

2

u/LangyMD 1d ago

Right, but the concept and architecture is the design, and that's the hard part. That's not the code.

Code is separate from design.

1

u/No_War3219 1d ago

People are getting way too caught up in hard vs easy without looking at the context, or quality, or any other quantifying measure. Math is easy until you hit the break point where the concepts get abstract enough you need a lot of skill to not drown in it. Programming is no different. Under 5k lines you can probably pull it out of your ass without any design and come up fine on the other side anyway. But go much bigger and you will struggle to structure organise and manage the code base.

Look at any given line of code and it will probably be easy enough to understand given it's not some horrible mess of nested calls and single character variables.

Look at a program and it becomes a lot harder, not because the syntax changes but because that is only a tiny part of it. Even if you get handed a class diagram (ie the design and architecture is done) that can still be difficult to program.

1

u/LangyMD 1d ago

A class diagram is not the entirety of design or architecture, bro. It's barely even relevant to the design at all.

1

u/No_War3219 1d ago

It is not, but it is a decent example of the scale i am referring too and the level of pre design that has been done. The whole point is that the broad strokes of the architecture are there and you just need to implement it (which still requires design but on a much smaller scale) if you go much more granular than a class diagram it is unlikely for someone else to still be doing the actual implementing. The point being design and programming are interwoven on different layers and it matters where you draw the line between design and implementation when discussing how "hard" something is.

1

u/LangyMD 1d ago

Maybe, but either way actual coding is only a portion of implementation. Even detailed design is not coding, and coding is not the entirety of programming.

When people are saying "coding was never the hard part", they are not talking about the entire software development process and calling that "coding". They're talking about literal "translate the detailed design into the programming language"; just the part of the software development process that is actual coding.

1

u/No_War3219 1d ago

Which is my point ...

Only looking at a single line of code it's usually "var = Call(var, var, var)" at the very foundation, it can be a lot more complicated with callbacks and functions being nested and lambda functions, but then yes that's the easy part.

It's a statement with no value because even the most basic program requires a lot more and it still requires you to know which functions to call and variables to use. It's like saying the hardest part of programming is downloading an IDE or text editor.

1

u/LangyMD 1d ago

Uh, no? The "coding was never the hard part" discussions came up due to the automation of coding.

We also have automation of design now, but the AIs are still bad at design compared with coding.

It's actually a useful statement to show what parts are safe to leave to an AI and what is not.

1

u/No_War3219 1d ago

People saying an AI can actually code for shit (given a full set of design documents) are either using much better agents than me, have never used it on major projects, or have never had to deal with AI written code when having to adjust it.

Like i said, code quality is more than just design and it's in lots of little things requiring foresight and experience.

Also to note i never mentioned AI at all and was strictly looking at the posed question. And while AI can look at the prior code and documentation the code base has to fill in those blanks that a strictly line by line case would not it does not change the whole point i was making.

Programming is hard or easy depending on how you carve your definition around the hard or easy parts of programming. It was a comment on how interpretations can change the answer in such a major way that it's basically two different conversations. I was not picking a side, beyond offering my interpretation and what i would feel in that case and the counter perspective that others are using to reach different results and debating the validity of the interpretation, not the conclusion.

1

u/No_War3219 1d ago

Also what? Barely relevant to the design? It might be barely relevant to the architecture (depending on what level of the system we are talking about) but it is highly relevant for design and implementation.

1

u/LangyMD 1d ago

A bare class diagram barely tells you anything about what the class is intended to do or how any of its methods are intended to work or what any of its variables are intended to represent.

It is neither necessary nor sufficient for describing the design of a program.

And in reality they're almost never used, created, or referenced even when detailed designs are created.

1

u/No_War3219 1d ago

If you are not making class diagrams to describe your relationships and components of classes then you are doing something else with a similar purpose. Be it a different diagram or a some other form of design. It describes the same components and functionality.

If you make a class diagram and you get no clues about what it's meant to do in production then you suck at naming things or your classes are bloated to the point they are impossible to name accurately.

And i agree they are not that often made, hell most of the time i am working with C and don't even have classes to make a diagram off. But the same concepts (especially if i do design in detail) are described in other ways. A class diagram is merely a format but its concepts are more core.