3 ms·
> What you are really saying is that expressibility is bad? Almost the opposite, actually. I quite like Haskell and Scala, which can be extremely expressive (n
by viraptor 16y ago
> What you are really saying is that expressibility is bad?
Almost the opposite, actually. I quite like Haskell and Scala, which can be extremely expressive (no dynamically modifiable parsers though ;) ) - but at the same time the area where you can make a mistake is minimal compared to Perl programs. Things where Perl will leave you a warning (which might get lost in other output), simply won't compile in others (for example ==/eq "problem"). On the other hand you don't need the type annotations for majority of code, so it doesn't induce the verbosity you'd get in Java or others.
It all goes back to the preference in the end ;)
- berntb 16y agoWell, I would have no problems with a nice lisp variant, either. Given enough supporting libraries. Anyone that ignores warning messages will suffer. :-) Note that Perl 6 is a scripting language which can declare types. The '=='/'eq' thing is common among scripting languages. It is a detail, you find things like this in all complex packages of rules. Most scripting languages will get (some) problems with typing, especially in function parameters for the external APIs in libraries. If you use strict, you get away from some classical problems, e.g. variable name misspellings. With Moose (or other CPAN stuff), you can have powerful typing handling etc. >>It all goes back to the preference in the end ;) Let me note -- that is not where you started a few comments ago. :-)
- viraptor 16y ago> Let me note -- that is not where you started a few comments ago. Argh - I have to learn to stop in a good time ;) Actually what I meant is that even if though I really believe in what I wrote above, if I had 10 people skilled in Perl feeling more comfortable with Perl than anything else... it might be a better choice. Should've actually said that experience decides in the end... but let's just stop here already :)