logoalt Hacker News

Suractoday at 1:04 PM6 repliesview on HN

My first contact with js was trying to make a button change its color on mouseover. There was no css back then. I bought a book and was so put off from the syntax that i never looked back to js from that day on. Never regretted my decision


Replies

satvikpendemtoday at 3:07 PM

I find these sorts of comments quite strange. So one tried something over 30 years ago and was put off by syntax of all things and then decided they'd never look at it again? So weird to base opinions on 30 year old experiences that were not even in-depth experiences but cursory glances.

afavourtoday at 2:32 PM

There are a ton of reasons to object to JS but the syntax? It isn’t even all that unique.

notesinthefieldtoday at 1:08 PM

I had a similar path and never came back to JS until work forced me to learn. To me, it has only gotten more readable.

show 1 reply
falcor84today at 1:44 PM

The syntax? I got 99 problems with js, but syntax ain't one of them. It's just C-style syntax, no?

show 1 reply
comrade1234today at 1:26 PM

I kind of like real JavaScript with prototype inheritance. It's not how we use it in browsers though.

And now with typescript and running it in the server... I'd rather just use Java.

DonHopkinstoday at 3:31 PM

Reminds me of one of Microsoft's first Dynamic HTML demos:

There were two buttons, one labeled "Our Web Site", the other labeled "Our Competitor's Web Site".

When you moved the mouse over the "Our Competitor's Web Site" button, it would quickly slide out from under your cursor before you could click it!

Then when you stopped moving your mouse, the "Our Web Site" button would slyly slide right underneath your mouse!

Dammit Microsoft!!! ;)