r/programming • • Sep 25 '20

Modern JavaScript Explained For Dinosaurs

https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
749 Upvotes

167 comments sorted by

View all comments

238

u/Mister_Deadman Sep 25 '20

Well it's true that things move fast in the JavaScript World. But that's what allows for innovation, which everybody benefits from

(X) Doubt

123

u/weedroid Sep 25 '20

"move fast, break stuff" is not a good maxim and never has been, and it's disheartening that it's been taken to heart by so many programmers and engineers

72

u/Sipredion Sep 25 '20

But hotfixing in Prod on a Friday afternoon is where I do my best work!

14

u/flukus Sep 25 '20

At least that fixes a problem, most move fast and break things is just churn.

6

u/sporkinatorus Sep 25 '20

Fixing prod bugs is for next weeks sprint.

3

u/ForeverAlot Sep 25 '20

And it doesn't even move fast. That's just an excuse to justify breaking things because somebody couldn't be bothered to understand use cases.

What do you mean, "I didn't solve the problem"? I moved the ticket!

2

u/lVlagiick Sep 25 '20

This hurt.

0

u/[deleted] Sep 25 '20

[deleted]

15

u/Zeragamba Sep 25 '20

Move fast, break stuff until you have a product. Then move fast, but don't break it.

10

u/[deleted] Sep 25 '20

Move at speed which can ensure no breakage.

1

u/nirreskeya Sep 25 '20

This discussion reminds me of this old article on Fast Company.

2

u/s73v3r Sep 25 '20

Slow is smooth, and smooth is fast.

1

u/5556565 Sep 26 '20

The only way to do anything fast is to do it well

13

u/ByteArrayInputStream Sep 25 '20

It has its uses. But it shouldn't be near anything that has to work reliably

4

u/therearesomewhocallm Sep 25 '20

How about things that have sensitive user data?

11

u/bigretrade Sep 25 '20

It's just "move fast" though. No breaking changes are introduced to the web and you can still include your moment.min.js via a script tag if you really want to.

18

u/Schmittfried Sep 25 '20

If I hear one more agile shitcoach repeat that mantra, or fail fast and generate learnings fast, I will find and torture Jeff Sutherland.

0

u/[deleted] Sep 25 '20

[deleted]

13

u/rasmustrew Sep 25 '20

It is also good advice for feasability studies, first examine the component that is most likely to be a problem. That way you avoid wasting a bunch of time only to find out at the end of the study that the whole thing doesn't work anyways.

8

u/ForeverAlot Sep 25 '20

"Fail fast" is preceded by an implicit, "if you're going to fail, prefer to ...". To fail is still failure so failing quickly is only good compared to the option of failing slowly. Some people equate failure with learning, seemingly not understanding that learning is an independent, optional investment opportunity that follows failure (and success). If subsequent to failure one does not make that investment, the same failure is liable to play out the next time around.

5

u/dnew Sep 25 '20

I recently realized that the difference between software "engineers" and real engineers is that real engineers investigate failures and learn from them. One plane crashes, we fix all the others. One building collapses, we don't do that again. One software project blows up after billions invested and never gets released? Well, let's start a new one doing exactly the same thing.

→ More replies (1)
→ More replies (1)

5

u/TimeWarden17 Sep 25 '20

The problem is that most people need a happy medium. I worked on a website where we had maybe 30 customers (and when I say customers, I actually mean users, because it was a "value add" so we weren't charging them a subscription, or running ads).

About 3 months after the MVP came out, it became clear that we fucked up. Most of our users really just wanted the underlying data, not our site. A competent manager would have "failed fast" and pivoted to something that would make money.

We could have added subscription fees, or made our underlying data a subscription based api, and focused on giving our customers more valuable data.

Instead we added a bunch more half-baked features trying to find out if the new features would gain market. Spoilers: They did not.

Spending hundreds of thousands of dollars in dev time for a project that isn't delivering customer value is a good way to fuck up your business forever. Instead "fail fast".

On the other hand, the same company yelled "fail fast" as the sold off our newly patented, state of the art technology, that we were consistently adding new use cases for and selling millions of dollars worth of product, because we were the only ones with consistently performing product in that field. It wasn't a "core competency" so we threw it in the trash after spending years and millions of dollar developing it.

5

u/zephyrtr Sep 25 '20

Its basically a less sane version of "write drunk, edit sober."

You can do whatever you want in a branch, its true. you can and should "break things." But afterwards, you have to collect your thoughts and explain your ideas to the rest of the team, and ask if others think its good.

I see too many programmers who say, "I know I'm right."

1

u/VincentxH Sep 25 '20

It is such a general statement that it's hard to even form an opinion on. Break stuff where? If you use TDD and you fail a lot of tests in your personal development environment, is that the "breaking"? Move when and how fast?

1

u/dnew Sep 25 '20

It's a great maxim as long as nobody else is depending on your software. Pre-V1.0 it works fine. The bigger your user base, the stupider that maxim is.

Sadly, lots of start-ups don't know when to change over to "keep shit working" mode.

→ More replies (5)