Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: What language should I learn?by BrowserUk (Patriarch) |
on Jan 08, 2012 at 09:37 UTC ( [id://946836]=note: print w/replies, xml ) | Need Help?? |
in which I can make an easy(ish) transition from Perl? For something completely different, but which will improve your Perl in ways you never dreamed of and just might become a favorite for recreational programming, take a look at Pure This is not an "easy transition" in the sense that is it not 'perl with objects and nothing but objects'; or 'perl with bondage and only one way to do things'; or even 'perl without the sigils and memory management'. That is, you won't find yourself writing a perl program and then tweaking the syntax a bit to make it work in Pure. Pure is resolutely and unashamedly a Functional Programming language. But is will be an easy transition in the sense that it is a dynamic scripting language. So no huge compilers and endless compile&link phases; no static types disciplinarianisms, nor the need to take a degree course to work out who Church was. Add a number to a string, and if the string contains a number, that's cool. Just a simple edit/run development cycle with automatic memory management and useful error messages. And concise yet powerful code. As a teaser, here is a complete Sudoko solver written in Pure:
It will make you think differently about programming, but that is all to the good. Even if it doesn't become a favourite for solving real world programming problems, a little exposure to FP will have good knock-on affects on the way you code in Perl. And Pure has the shallowest learning curve of any of the at least 10 FP languages I've looked at. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|