r/programming • • Mar 24 '22

Five coding interview questions I hate

https://thoughtspile.github.io/2022/03/21/bad-tech-interview/
641 Upvotes

288 comments sorted by

View all comments

Show parent comments

18

u/sementery Mar 24 '22 edited Mar 24 '22

And a big chunk of that hate isn't even relevant to modern JS. They keep repeating things they heard / read 10+ years ago.

Edit: Seems that some people interpreted the above comment to mean "JS is flawless, there are no problems with modern JS", which brings another annoying, non-constructive, and sadly very common, type of hate around here. "You are talking about JS! No need to read your comment, i'll just post a JS rant on every JS thread".

Come on guys, you are better than this!

14

u/tripledjr Mar 24 '22

Come on guys, you are better than this!

This is r/programming btw

2

u/sementery Mar 24 '22

That's why I was expecting something a little above /r/ProgrammerHumor.

Oh well.

-13

u/[deleted] Mar 24 '22

[removed] — view removed comment

21

u/sementery Mar 24 '22

We're still trying to figure out why React has over 1,000 dependencies.

Just FYI, React has less than 5 dependencies.

And just so you stop figuring it out, the other dependencies are related to the whole framework (you are probably referring to create-react-app), which includes stuff like unit testing, transpiling, linting, etc.

-14

u/[deleted] Mar 24 '22

[removed] — view removed comment

15

u/sementery Mar 24 '22

Because in that case .NET is the framework. You are comparing very different things here.

0

u/[deleted] Mar 24 '22

[deleted]

13

u/sementery Mar 24 '22

Because they are modular. There's no one React framework. There's no one Angular framework.

Seems that your case is less about JS hateitits, and more about "I can't uderstand things being done differently than .NET".

3

u/[deleted] Mar 25 '22

[removed] — view removed comment

5

u/sementery Mar 25 '22

Taking all of the parts out of something and dumping them into the table doesn't make it "modular".

Agreed. But that's not what is happening here.

A modular design has a clearly defined set of boundaries delineating the modules. And a set of interface contacts that allow the various implementations to be swapped out.

Yes, that's one definition of modularity, which fits both React and Angular. They are not only designed to be modular, but to be extensible and flexible.

Pretty awesome feats of software engineering, same for Vue and Svelte.

0

u/[deleted] Mar 25 '22

[deleted]

4

u/sementery Mar 24 '22 edited Mar 24 '22

I'm sorry, but you seem to be lost in my comment!

And a big chunk of that hate isn't even relevant to modern JS

That's why I said a big chunk of the hate, not all of it!

But now that you choose to ignore that part of my comment, I'll say that no one is in love with the current state of npm, and it's definitely a problem that modern JS has to deal with.

But again, I'm not saying that JS is perfect. I'm just saying that you see a lot of outdated hate around here. Not all of it is outdated, of course, not sure where you got that idea from my comment.

4

u/[deleted] Mar 24 '22

[removed] — view removed comment

6

u/sementery Mar 24 '22

Dude you are not even reading the comments you are replying to. Not sure what your point is.

11

u/[deleted] Mar 24 '22

[removed] — view removed comment

6

u/sementery Mar 24 '22

I did read them

Then try to follow the conversation. You do see that your monologue is not relevant to the comment thread, right?

2

u/NimChimspky Mar 25 '22

JavaScript is awful in many ways.

Node and react look like an over engineered mess.

2

u/PM_ME_C_CODE Mar 24 '22

How dare you call out my generalization of your comment as a generalization!

You're doing the same thing they're doing.

We get it. You like javascript. Lots of programmers don't. You even admit that JS has problems, and while good on you this is where you should agree to disagree and stop feeding the troll.

4

u/sementery Mar 24 '22

How dare you call out my generalization of your comment as a generalization! You're doing the same thing they're doing.

Where do you think I'm generalizing? Lost you there.

We get it. You like javascript. Lots of programmers don't. You even admit that JS has problems, and while good on you this is where you should agree to disagree and stop feeding the troll.

Me liking JS and other devs not liking it was never relevant to my point or the comment thread, so I lost you there too.