Where can I learn more about J? I haven't heard about that one before...
Just curious; what do you think about Perl?
I use Perl regularly and find that it works well, but I'm still not really fond of it as a language. It's non-intuitive (since there are so many different ways to do things, it's hard to guess; sort of a lack of orthogonality) and difficult to maintain (it requires great discipline by the programmer to keep code comprehensible and consistent).
But, despite its flaws, I must say that it lives up to the first part of its name: Practical.
I'd like to learn more Python so that I can eventually use that as my scripting language of choice.
I'm still a newb to programming. Once we got to object oriented programming in my Programming class, my grades really fell out(still passed with a C though). But I think that was mostly due to the fact that we were doing 3 hour assignments in UML for only 10 points; too much effort for too little reward, ya know?
Ick. Don't blame ya.
UML isn't really programming. That's like taking a creative writing course and then doing nothing but writing outlines.
There's a common saying which I think is fairly accurate: Perl is the duct tape of programming languages. Handy, inelegant, and flexible.
My language of choice, in case you're curious, is C++.
My language opinions (not that you asked! ;)
C++ is a good solid language with nice mid-level features. Powerful and lets you construct things how you want to (which cuts both ways). I like that freedom and flexibility.
Java (and modern Pascal) is good for learning a "pure" object-oriented approach. It has a formal and restrictive tendency, which might or might not be to your taste.
Python is an elegant higher-level language, sporting a clean syntax and some advanced concepts. It's younger, not as optimized, but quite approachable. It would be a cool language to learn early.
Lisp is a good language to learn but not to use. It embodies concepts that are advanced and fundamentally different. But its minimal and repetitive syntax are not very practical; it has the beauty of abstract mathematics and a similar detachment from real world problems.
My housemate said it best:
"Programming in line noise." -:D
Now, I fully expect someone to come up with a three character solution for Matlab or something.
I think the best you can do in MatLab/Octave is 5 characters:
Of course, if you don't want to spew the result to stdout, you need a 6th character...
Well done. :) You've still whittled a couple characters off the J example.
I spend a lot of time debugging code. So I love python. It's a bit more long winded, but to the coders out there. "Obfuscate this!"
Also the python code has the assertion lines in it, where the other examples do not.
But then I also know that this is somewhat tongue in cheek.
From what I've seen of it, Python appears to meet my tastes for language "beauty". I'd like to get a chance to learn more Python and use it at work.
And, yeah, the Python was part of the larger original article. So it includes comments, declarations, and such trivialities. :)
I had not heard about J, I will have to look into that one. I used to use C++ but, its been all java for the last (many many) years.