Hacker News new | ask | show | jobs
by jenius 4155 days ago
> "This is solid engineering. And it completely reinforces the fact that React.js is the right way to build apps."

This just comes off as really weird to me. Why would any sane developer make a statement like this? It sounds preachy and brainwash-y and weird. If there's anything we learn as developers it's that there never is and never will be a single "right way" to do everything. Reading stuff like this makes me doubt the entire article.

There's a difference between writing objectively about something that's interesting that you enjoyed, and trying to lay down a dogma. TBH, the more of this article I read, the more my view of it's goals swayed towards the latter.

3 comments

My take on it having used React on the web for a year: I won't go so far as to say React is THE right way to build apps, but DOM mutation is definitely the wrong way. Having opinions about data flow, application structure, etc. is not preachy and weird; it's just software engineering, though I agree this particular opinion is stated in a particularly strong way.
I agree, this post seemed like an awkward sales pitch to me. Not even a single mention of any possible downsides to this approach. Just unicorns and rainbows.
I like having opinions. People can disagree with them, of course, as has always been the case.
Look up the definition of the word "opinion" on google or a dictionary. Then look up the word "dogma". Then re-read my comment. Fair? It's not the opinion I'm objected to, it's the way of stating it.
I think we would do well to apply the principle of charity here instead of having an (frankly boring) argument about semantics. Surely the author does not plan to use React forever and just meant that it's the best way to write web apps right now (which is a defensible opinion).

https://en.wikipedia.org/wiki/Principle_of_charity

Your grounds for disagreeing are bogus. Check out "How to Disagree" [0] by Paul Graham. You are at one of the lowest levels: "DH2. Responding to Tone."

[0] http://www.paulgraham.com/disagree.html

You're really just complaining about the phrasing of it and saying that it should have been worded in a mealy-mouthed way. That's silly, it's just an expression of an opinion.
> You're really just complaining about the phrasing of it

So far correct.

> and saying that it should have been worded in a mealy-mouthed way. That's silly, it's just an expression of an opinion.

Don't act like something is decided when it's not. Don't say something is 0.0 mm when you measure using using a ruler. Basics in politeness and engineering, isn't it?

Some might find it really annoying to discuss with people who use very strong statements after so short time.

This is absurd. Are you serious? The way you express your opinions is enormously important. It could easily be the difference between getting a raise and getting fired. Expressing your opinions in a way makes sense to other people and they take well to is the farthest thing from silly ever, it's like a #1 essential skill for life. On top of that, phrasing informs the message, and in this case I was not just complaining about the phrasing, I was also complaining about the outrageous statement being made.

For example, saying "React is the best way to build all apps no matter what" vs. saying "Compared to building native UIs with objective C, react-native made for a much smoother experience for me because of X Y and Z" are not only phrased differently, they are communicating different things. The first one is an absurd overarching dogma declaring every other app-building technology to be inferior to react with no backing whatsoever, and the second one is a useful and specific analysis of react in one situation compared to an alternative.

I can't figure out if you're trolling or not, honestly.

> React is the best way to build all apps no matter what

When you alter a quote, you're only illustrating your own bias, not that of the author.

> The way you express your opinions is enormously important. It could easily be the difference between getting a raise and getting fired.

How is this relevant to the conversation? This isn't a letter to his boss, it's a blog post. Even so personality types differ vastly between individuals and your argument appears to be culturally conditioned in a different cultural. In other words, we live completely different worlds due to our cultural conditioning (or lack of - by that I mean our association with our inner voice).

> The first one is an absurd overarching dogma declaring every other app-building technology to be inferior to react with no backing whatsoever

It's just a matter of using the word 'a' vs. 'the'. We actually get it wrong MOST of the time. Replacing 'the' with 'a' provides much more clarity. For example, you could say 'Please bring me the green chair in the closet', but if there's more than one green chair? Well there's more than one 'right' way to build apps. React is 'a' right way to build an app. There are MANY wrong ways to build apps, and most web frameworks (in my opinion) build apps a wrong way. React is one of the few. That's how I feel.

I think you either have an ulterior motive for criticizing React itself (money, company), or you're just closed minded.

Is your reply a good example of how to a express an opinion?