Re:Is TypeScript actually worth It?
by zabzonk on Friday January 13, 2023 @06:19AM
(#34366344)
whoever said that javascript was a simple version of java? the two languages have almost nothing in common - at least a unicycle and a bicycle share the concepts of "wheel" and "pedals".
[ Parent
| on HN ]
Java has wheels and pedals. Javascript only has objects that say they are wheels, and objects that say they are pedals, but which are really both and neither at the same time.
Schrödingers Java
Smalltalk has wheels and pedals. Java has AbstractBicyclePartFactoryBuilderSingletons.
The syntax is very similar on the surface, at least compared to Perl, PHP, Python, C and - I would personally say - C++ and a number of other languages.
Yes, there is no way you'd mistake one for another if you have worked in any of them - but they look superficially similar.