Yes the chart has errors, yes some of the vectors make no sense. Yes, your version of the chart would differ greatly (hell, his "enhanced" one differs significantly from the basic one.) Cut the guy some slack . He put the work in and the result is a pretty cool look at how he makes sense of the way various languages interrelate and borrow from each other. There are others showing the way other people think [1] and I…
Every language fixes something - a DiGraph - just for fun
81–90 of 102 posts
Re: Every language fixes something - a DiGraph - just for fun
#82Earlier quoted context omitted.
> some of the descendants are a bit off (Java->Javascript, anyone?) The page explicitly notes that this is not an inheritance / 'paternity' graph, but rather a description of the (perceived) problems with one language that another language fixes (or tries to). I don't think there's even any implication that any one language was created in response to any other, just that it shares certain aspects, and removes certain…
So you agree with the diagram is stating: that JavaScript fixes Java's syntax by using the same C-like syntax? No, the given reason for Java -> JavaScript is completely wrong. I'd understand if the reason was "Java browser applets suck", but syntax?
Re: Every language fixes something - a DiGraph - just for fun
#83Cool =) But who says perl has "no support for Japanese"? Don't think that's true
I came here to inquire about the same thing. The shared page has been last modified 2011-07-28 but currently Perl seems to handle Japanese fine, either via the Encode module (core) or alternatively Unicode::Japanese on CPAN. Regardless, I'd be interested in knowing of any problems people have had with handling Japanese.
I'll go change it again to help try to make that clear.
Re: Every language fixes something - a DiGraph - just for fun
#84Where's INTERCAL? What does _it_ fix?
Re: Every language fixes something - a DiGraph - just for fun
#85Re: Every language fixes something - a DiGraph - just for fun
#86PHP gets no love. Where would it be in the chart? coming off of C or C++?
(sorry, couldn't resist :-) )
Re: Every language fixes something - a DiGraph - just for fun
#87PHP gets no love. Where would it be in the chart? coming off of C or C++?
When the people who "designed" PHP did so, why did they think no existing language would do the trick? What was the problem with all the existing languages? What problem were they trying to fix?
Re: Every language fixes something - a DiGraph - just for fun
#88Earlier quoted context omitted.
I don't understand this code. In the Ruby example, mouse_x() appears to be a method on the current object, in the Python one it's a method on some other object (a module named "processing"?). Since the code examples are the same, I'd say whichever language I'm wrong about is the less clear one.
Yes. I don't have a Python version of Processing, so I thought about how the Processing API would best be exposed in Python — and it would probably be by calling functions exported by a module named "processing", rather than by inheriting your class from processing.App. So you're right about both languages.
from processing import ...Re: Every language fixes something - a DiGraph - just for fun
#89Earlier quoted context omitted.
I don't understand why you think the Ruby code has better SNR. The python code is two lines shorter. In python, you have to type the (), but that's not really "noise". I do hat the : at the end of python control statements. I always forget them, and it seems like the parser could do it's job just as well without them.
> I don't understand why you think the Ruby code has better SNR. Because they say the same thing, but the Python code is much longer, if you count tokens instead of lines. It has about 28-30 more tokens than the Ruby code does, about three per line. Those tokens don't convey any information. They're just redundancy, i.e. noise. And there are a lot of them; these redundant tokens are something like a third of the code…
I wanted to translate the code to Haskell directly, but the idioms don't map that well (self.cellSize would becomes something else entirely, and the comparison would not be fair).
Re: Every language fixes something - a DiGraph - just for fun
#90http://james-iry.blogspot.com/2009/05/brief-incomplete-and-m...