Linked by Amjith Ramanujam on Tue 29th Jul 2008 06:39 UTC, submitted by snydeq
General Development InfoWorld has put together a 20-question test of your programming knowledge. Questions range from 'What is the best way to preserve type safety in assembly language?' to 'Why are race conditions a problem in modern software development?' and they touch on your knowledge of the history of programming languages, how best to develop easily maintainable and secure code, and your game plan for overcoming a lack of energy drinks, Jolt Cola, and Mountain Dew at the local supermarket - in other words, your commitment to programming as a way of life. Editor's Note: Think of it as your midnight distraction (*cough* Grad Students) rather than news, you might actually enjoy it ;).
Thread beginning with comment 324926
To read all comments associated with this story, please click here.
First question
by normanv on Tue 29th Jul 2008 17:56 UTC
normanv
Member since:
2008-07-29

I believe that both JavaScript and Java originate from Self programming language developed by Sun to some extent. So the answer for the first question is - questionable ;)

Reply Score: 1

RE: First question
by fretinator on Tue 29th Jul 2008 18:34 in reply to "First question"
fretinator Member since:
2005-07-06

The key is that javascript is NOT a lite version of Java. This is probably one of the most ANNOYING misconceptions ever in the IT world. I don't know how many times I have heard hiring managers, developers - eople who should know better confuse the two. I cringe when I hear people say something like "yeah we need a Java developer to help with some of our web pages", when they really mean a Javascript developer. The languages share nothing except a "c-like" syntax (braces, semi-colons). Javascript really has far more in common with the functional languages.

So personally, I was glad to see that question. It really was a marketing decision to include the word "java" in javascript. However, it was a very poor decision. It created a lot of unnecessary confusion.

It actually reminds me of the word "Basic" in Visual Basic. While VB is actually a derivative of Basic, unfortunately the word "Basic" confuses many adminsitrative folks. They see the word and think that it must be easy. I have seen this played out such that non-programmers are hired as VB programmers, because, well, it's basic! How hard can it be? In fact, one job I interviewed actually called it "Visual Basics". I had to keep myself from laughing during the interview. In reality, enterprise applications of great complexity and depth can be created with VB (even before .NET). However there is a "pile" of VB guys out there that to a certain extent were created due to the word "basic" in the title.

Words are funny!

Reply Parent Score: 3

RE[2]: First question
by renox on Tue 29th Jul 2008 20:37 in reply to "RE: First question"
renox Member since:
2005-07-06

The key is that javascript is NOT a lite version of Java.


*Sigh* you haven't read his post, he didn't say that..

What he said is that both Java and Javascript has some heavy link with Self a project made by Sun:
for Java it's not the language but the JVM's JIT compiler which benefited from Self research
and for Javascript it's because it is a prototype based language like Self.

So I was a bit annoyed by the incorrect "solution" IMHO..

Reply Parent Score: 3