How is JavaScript different from Java?
java.com
java.com
That aside, it's a wonderfully enlightening document clearly written by someone well-versed in the issues. :-D
I wonder what JavaScript plugin is the best
* http://stackoverflow.com/questions/245062/whats-the-differen...
JavaScript was a breath of fresh air. I could start hacking without thinking about the design, but instead focusing on simplicity and the problem at hand. Refactoring later was trivial.
A big part of this is that whereas Java is OO, JS can start out procedural, evolve to be OO and then go functional, all within the same project.
I'm now churning out more quality code than ever at https://starthq.com
That is essential for any software engineering project (and is almost the definition of `engineering`)
>> I could start hacking without thinking about the design
o.O
>> Refactoring later was trivial.
I've never heard someone say that about JavaScript -- in fact, I've heard just the reverse. Java tooling makes refactoring much, much easier. Not so for JavaScript.
You can make javascript pretty easy, but the process is a bit more involved (not a bad thing to know your own code though.)
It makes me happy to be able to use sublime for all my programming but java.
That being said, I have to agree about the design though. You're only shooting yourself in the foot if you just start coding right away. Even just 10-15 minutes of design up front to understand what the heck you're doing will save hours down the road. I think it's more of a problem of balancing the 2.
Some people overdesign and don't get anything done while others just do everything and end up with code rot and technical debt later.
In JS, the focus for me is to get something that gets the job done in as simple way as possible, and then work to make it more generic.
I can't wait till I get enough of a break to migrate that over to scala.
1) Is dynamic like JavaScript, the learning curve for a seasoned developer such as you would be low and you'd get velocity quickly
2) Allows you to focus on the problem solving at hand rather than spending a bunch of time just build base classes to model your solution
3) Refactoring is easier as Clojure puts you on the road to pure functional programming, and your solution is not complected (or at least has low complection)
4) Has a nice interactive environment for prototyping/developing, much like some of the JavaScript tools out there
5) Can emit JavaScript for the browser using ClojureScript
What would be the best book to read to get me excited about Clojure, in your opinion?
http://www.infoq.com/presentations/Simple-Made-Easy
The "Joy of Clojure" is the best book on understanding the mid and high level constructs and design of Clojure (and FP). It's not a beginner book though - for that the books from the Pragmatic Programmers or Oreilly are excellent.
Its easy to read, succinct, functional or OOP when you want it to be, and you can work directly with any java library. Its really a well designed language.
The only downside is that the compile time is very slow, whereas with Clojure you can develop on the fly.
The downside to Clojure is that the code is very dense to read. But if you have the time I also strongly recommend playing with it for a week.
Scala play! is a pretty good web framework.
How is JavaScript the same as Java?
They both start with the letters J, A, V, A.JavaScript - Write once, run everywhere
Javascript however... Let's just say that you can count on IE to make sure you'll have to patch your code at least once.
Props to mozilla.org for ensuring that dinosaur of a link keeps working!
Is Java bytecode not text based? If not, how would you classify it?
What I would like to know is WHY THE FUCK JAVASCRIPT has the word JAVA in its name?
Well, one correct bullet point out of four is, uh, I guess it's better than zero.