News for hackers. Stuff that matters.
Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by incepted on Wednesday November 04, 2015 @11:07AM (#10507489)
What you are looking at has nothing to do with dynamic languages. Static languages and modern IDE's do this just fine, and much more.

Here is an example:

https://youtu.be/rhN35bGvM8c?t=5998

This is notch (the creator of Minecraft) coding a game live for several hours. Notice that the game is constantly running in the background for the entire duration of the cast and it updates as soon as notch changes the code.

This is done with Eclipse and Java.

Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by klibertp on Wednesday November 04, 2015 @11:55AM (#10507843)
> ... and Java

Which is fairly dynamic language itself... Try doing this with C - mybe with enough GDB-fu, but I'm not convinced.

I think you confused dynamic languages with dynamically typed ones.

Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by incepted on Wednesday November 04, 2015 @01:17PM (#10508425)
I'm not sure we use the same definition for that word.

By "dynamic", I meant "dynamically typed language". Java is certainly statically typed while Smalltalk is dynamically typed.

What's your definition of "dynamic" that makes you say Java is?

Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by klibertp on Wednesday November 04, 2015 @02:49PM (#10509116)
"Dynamic" and "dynamically typed" are not exactly the same things. As Wikipedia puts it:

> Most dynamic languages are also dynamically typed, but not all are.

The concepts (both "dynamic language" and "dynamic typing") are not very precise, but, in general, a language may be called dynamic if it has eval, dynamic dispatch with something like "method_missing" or reflection (and this is what Java has).

Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by incepted on Wednesday November 04, 2015 @05:04PM (#10510128)
Java has reflection and not method_missing, yet you are probably the first person I ever heard call Java "dynamic".
Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by klibertp on Wednesday November 04, 2015 @07:10PM (#10510722)
> Java has reflection and not method_missing,

Yeah, that's what I meant, sorry for the confusion.

> yet you are probably the first person I ever heard call Java "dynamic"

https://en.wikipedia.org/wiki/Dynamic_programming_language - see the "Examples" section.

As I said, "static" and "dynamic" concepts are not well-defined, and they're not binary, either. Most languages have some static and some dynamic components; some are closer to dynamic, and some closer to static end of the spectrum. Java sits somewhere in the middle, a bit more to the static side. It's much more dynamic than Haskell, and quite a bit more dynamic than C++ for example. On the other hand, if you compare it with Smalltalk, Self, Lua, Io and many other usual suspects it indeed looks static like a rock.

Re:Pharo Smalltalk IDE as Visualizer: Mondrian in Action [vi... by pjmlp on Wednesday November 04, 2015 @12:38PM (#10508170)
Yes, the Mesa/Cedar at Xerox PARC used a strong type systems programming language, which was the influence to Niklaus Wirth Oberon system.