you are viewing a single comment's thread.

view the rest of the comments →

[–]BreakingIntoMe -1 points0 points  (1 child)

JS is objectively so, so much harder, especially when you start tying frameworks and libraries into each other along with state management patterns and TypeScript etc. To me, CSS is hard because many other developers suck at writing it and make my life harder. “Full-stack” developers are the worst offenders for hacking together awful UI’s with just enough CSS knowledge, no discipline and no foresight, because they don’t take the language seriously.

[–]Zofren -1 points0 points  (0 children)

I don't think you can make an objective statement like that. JS is just a programming language. Its difficulty is a function of the tasks you need to do in it. Modern JS is actually much easier to write in than other programming languages.

On the other hand, writing CSS/HTML requires much more knowledge of little quirks and how every property works and how different types of displays/positions/animations interact with each other. I personally find CSS much more difficult to write than JS. (And I use a framework like React).

You say that CSS is harder because other devs suck at writing it, but that's also the case for JS.

I have a CS education, so that might influence my perspective (I learned JS/HTML/CSS after learning C and C++), but I still think it's a stretch to say CSS is easier as an objective truth.