Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Re: Why Javascript?

$
0
0

Thanks for the insight. Though I don't get what being written in Java has to do with anything. Java and Javascript have little in common beyond their name.

 

You're right that this question was spawned due to the investment our group has made in trying to focus our systems to just a handful of languages. Yes the JS syntax is fairly easy to get into - though trying to bounce back and forth between Python, Powershell, etc and now Javascript, just keeping simple things like the proper concatenation syntax seems to require a lookup again.

 

The biggest challenge so far has been largely with object introspection. Powershell, Python, PHP are dead simple to see what properties and methods an object has and their types. Javascript always seems to make it a battle. I seem to have to write some complicated loop to see what property pairs exist and methods are even more difficult. Deeply nested objects? That may take me 20-30 minutes of running, selecting sub-object, re-running, and repeat, just to find the specific piece of data I'm looking for.

 

Oh well, I guess I'm just ranting whining now. I do appreciate the explanation. Thank you.


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>