r/javascript • • Dec 09 '18

help Anyone here love Javascript but hate front end(CSS)?

Is this a common feeling?

380 Upvotes

229 comments sorted by

View all comments

Show parent comments

1

u/react_dev Dec 09 '18

What. Yeah and I can write Javascript with C so Javascript sucks too.

Like, why would you? There are rendering engines out there that parses CSS why in the world would you want to port it to use JS. What. On top of it being super slow cus ur using JS to calculate viewport it'll be the biggest Pita to write. Oh God.

-2

u/[deleted] Dec 09 '18 edited Dec 09 '18

Why would I use an half-assed stuff like CSS when I have a full-blown language at my disposition. Using CSS to do dynamic changes on the website feels like hacking a "language" that isn't made for that more than anything.

My point was : I can do everything with JS. Part of the community here seems to think otherwise. Last time I said that I got downvoted. If you want to use CSS, good for you. If I want to write a website, I just ignore html and CSS which are not flexible, nor feels good every time you go beyond simple things since everything they do, I can do with JS rather simply.

1

u/react_dev Dec 09 '18

Sure why don't u do a rotating wheel that goes across a screen in JS and I'll get on the bandwagon. It's like a wha. 2 liner in CSS?

1

u/[deleted] Dec 09 '18

Sure why don't u do a rotating wheel that goes across a screen in JS and I'll get on the bandwagon. It's like a wha. 2 liner in CSS?

Using events and canvas it's very doable, not in 2 line, but in exchange you get a finer control on what you do and how you do it.

I asked you for example of something that you can't do in JS and you can do in CSS. Number of line is irrelevant to anything I said so far.

2

u/react_dev Dec 09 '18

Lol then do it. Anyone can just talk theoretical but can you even pull it off? Do you even have the skill? I doubt it.

1

u/[deleted] Dec 09 '18

So you don't even know it's possible to do that in JS and come discussing about language feature in r/javascript.

Why would I waste my time for a nb. If you don't want to believe me I don't really care. It's not r/learnjavascript.

1

u/react_dev Dec 09 '18

You don't wanna waste your time cus you can't do it dude. It's fine to admit it. You don't even know where to begin. You prob never even written a canvas or done any vector animation.

You prob can't even grasp the complexity of how browsers render graphics and do animations.

Your statement that JS can do anything CSS can is as useful as me saying I can do everything JS can with pure sand on the beach. Just gotta construct em into semiconductors first! Easy!

Don't talk big. Just accept you have lots to learn and keep learning. Don't look down on other tech.