3 ms·
IIRC, the syntax for JS was redesigned hurriedly to look like Java because at the time Java was hyped as the one true language for everything web, including fro
by macintux 8y ago
IIRC, the syntax for JS was redesigned hurriedly to look like Java because at the time Java was hyped as the one true language for everything web, including front-end apps (applets). Definitely the name was chosen for that reason.
- chvid 8y agoIf you add static types to js and create typescript you all of a sudden have something that looks a lot like c# and java ... don’t you think?
- BrendanEich 8y agoI didn't redesign JS syntax at all, it was always C family syntax with Java keywords reserved and a few non-C keywords even used. I never had an s-expr language at first and redid the syntax. Anyone who says so is misinformed.