Forgot your password?

typodupeerror

Comment: It's not (just) the language - it's the API (Score 4, Insightful) 530

You say you can learn the syntax and basics of a language in a weekend. You're probably right. What you can't learn in a weekend is the standard API that comes with each language, defining all the standard objects and methods you'll want to use. That's probably the biggest change in the last 10 years. What you want to look for in a language is one that makes it easy to do stuff. What you want to look for in an API is good, usable documentation.

Javascript, for one, is a pretty bad language with hardly any standard API (aside from the browser's DOM). Fortunately, there are free add-ons, like jQuery, that add both language features and an API.

Java was one of the first languages with a large standard API. It has nice documentation, but the language is barely better than C/C++. An ecosystem has developed around Java bytecode, however: languages like JRuby and JPython can run like Java and interface with Java code. There's also "groovy", a "modern" language built entirely around Java bytecode.

The major competing bytecode standard is .NET, from Microsoft. They offer free-with-certain-restrictions .NET compilers for C/C++, C#, Visual Basic, and more. All of them can use the .NET API which is documented on the MSDN site. I never found the documentation quite as nice as Java's; but it's usable. Again, other languages have been made to run .NET bytecode: IronRuby and IronPython.

Python and Ruby outside the bytecode versions have their own APIs. If you liked Perl and like object-oriented programming you'll love Ruby.

Finally, if you find you can't stand all this object-oriented programming, try PHP. It's used widely for making dynamic web sites, and has a nice, large API with documentation; but it rarely uses user-defined objects.

Comment: Hotter != more heat (Score 5, Informative) 182

by Ken_g6 (#39832759) Attached to: Ivy Bridge Running Hotter Than Intel's Last-gen CPU

After switching all my lights to LED bulbs, its a bit cold in my office. A new, hotter CPU could be just what I need.

You're confusing temperature and heat. A candle burns hotter than a person, but a person puts out more heat (100W) than a candle (80W). Likewise, Ivy Bridge puts out less heat than Sandy Bridge, even though it's hotter.

Comment: Re:Some day in the future people will look back... (Score 1) 320

by Ken_g6 (#39750335) Attached to: Technology Makes It Harder To Save Money

We also have to pay money for the "right" to eat, and not go hungry, to heat and light our homes - even to own the property a home is on. I expect we'll have to pay for internet service too.

Although, if food was so available that we didn't have to pay for it, that would solve a lot of problems.

Comment: Security! (Score 1) 178

by Ken_g6 (#39733357) Attached to: Open Source Electric Cars — Good Idea Or Not?

What if somebody else hacks your car? E.g. so that it won't drive slower than 80MPH, and if you try the batteries explode? Yeah, that particular scenario is probably impossible, but the point is that the electric car version of cutting the brake lines or making the throttle sticky, though harder to do, could also be harder to detect, and harder to stop.

Comment: Perchlorates (Score 3, Insightful) 172

by Ken_g6 (#39672787) Attached to: New Study Suggests Mars Viking Robots Found Life

Recall that more recent missions have analyzed the soil of Mars, and have found "interesting" chemicals like perchlorates. Chemicals which might mimic the signature of life in this experiment. We need to run a test, on Earth, using the best lifeless analogue to Martian soil we can come up with, including perchlorates, and see if the results match.

There are three ways to get something done: (1) Do it yourself. (2) Hire someone to do it for you. (3) Forbid your kids to do it.

Working...