Can java be converted to js? like node? Write js, in JAVA syntax. If you can, why not?

angular is like spring,

typescript is like java

Why is it that js gave birth to this content, instead of java supporting the conversion to js, and then directly using frameworks such as java"s spring?


angular , typescript is essentially JS , you can use JS syntax. JAVA syntax writing JS is not impossible, but unnecessary.

angular , typescript syntax is biased towards JAVA syntax because the JAVA specification is really suitable for engineering.


language limitations, JS language advantage is weakly typed language, flexible, but also high barriers to use, and no large-scale engineering experience.
java is a strongly typed language with relatively low barriers to use, perfect biosphere and high support from various major manufacturers. The key is that there are a series of perfect resources, such as engineering / IDE, etc.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a9b9-2c243.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a9b9-2c243.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?