Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

languages and syntax

by stefp (Vicar)
on Oct 22, 2007 at 10:18 UTC ( #646413=note: print w/ replies, xml ) Need Help??


in reply to Re: Linguistic determinism is the idea that language shapes thought.
in thread What's wrong with Perl 6?

Should not we talk of the Djikstra hypothesis for computer environments instead of Sapir-Whorf? The tools we use have a profound (and devious!) influence on our thinking habits, and, therefore, on our thinking abilities. in this paper. What I like about Perl is that it takes malleability of the natural language without aping its surface syntaxe. Unlike Fortran and Cobol who are not malleable enough and take from natural language only a few words used as keywords.

Perl 6 is getting rid of the Perl 5 ossification to give a new meaning to malleability. Think Perl 6 macros for example. Introspection is proper to human thought, it should be the rules in programming languages. So the second Djikstra hypothesis, is wrong when you take it for its spirit : Projects promoting programming in "natural language" are intrinsically doomed to fail.

Speaking of syntax, the second language to impress me for its concision is Haskell, that I discovered thru pugs. Like Larry Wall did for Perl, the conceptors of haskell did put a lot of thought to get it right. It seens that most language designers don't think much about language syntax or for pedagogical reason stick to the convention of mainstream languages.

In the late eighties, Gosling, when designing NeWS, an innovating window system at the time, picked the postfixed syntax of PostScript with the clean semantic of the PostScript imaging system, dooming NeWS from the start. PostScript is intended to be generated by programs, not by programmers. Later, by mostly picking the C syntax, Gosling found a public for Java but, in my opinion, made it uninteresting from the start even if the idea of portability thru a virtual machine was brillant even if, in the long term, it did not panned out as well as expected. But this is due to refusing to make the language open source in due time, causing incompatible implementations and libraries.

-- stefp


Comment on languages and syntax

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://646413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-10-22 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls