What are some fun simple languages to learn.

This is a discussion on What are some fun simple languages to learn. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; It's syntax hurts my brain......

  1. #16
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    It's syntax hurts my brain...

  2. #17
    Disrupting the universe Mad_guy's Avatar
    Join Date
    Jun 2005
    Posts
    258
    LISP is one of the greatest programming languages ever if you ask me. I think learning it is a very good experiance for all programmers, even if you never really use it. A lot of people I talk to prefer Scheme as it is more minimalist, but I prefer Lisp myself. If I wanted a lisp-oriented language to embed, I would much rather use Scheme however. I'll give Scheme a good wack one of these days though, so my preference may change, but I doubt my opinion on Lisp/Scheme in general will really ever change.


    I also believe that Erlang is very well worth a look. It's messaging system and design from the ground up to be concurrent and distributed is extremely interesting if you ask me. I actually wrote a blog post on Erlang just a week or two ago, got quite a few hits from Reddit. I think it's an extremely powerful language and it offers a lot of cool features. While many languages these days have concurrent and symmetric libraries for process concurrency, Erlang is different as it has a very powerful Message-based system for passing data inbetween erlang processes. I find the mechanism very powerful and appropriate for Erlang.
    operating systems: mac os 10.6, debian 5.0, windows 7
    editor: back to emacs because it's more awesomer!!
    version control: git

    website: http://0xff.ath.cx/~as/

  3. #18
    Cat Lover
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    109
    I haven't seen anyone mention PHP yet so I will.

    I found it an extremely easy language to learn, syntax is basically C syntax, www.php.net has a good function reference.

    Otherwise, Perl isn't too bad once you get over its...'quirks'.
    I tend to use Perl for most of my simple scripting stuff at home.

  4. #19
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    The thing is, after working a lot with PHP on medium-sized projects (~4 people, a few thousand lines of code), I don't think it fun anymore. At all.

    It lacks the safety static languages such as Java provide, while not providing the flexibility really dynamic languages such as Ruby or JavaScript offer.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #20
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    It lacks the safety static languages such as Java provide, while not providing the flexibility really dynamic languages such as Ruby or JavaScript offer.
    I can't say you're right about that. PHP is safe. Have you ever caused a "server crash", "buffer overflow" or something like that with PHP? It is not possible. I think PHP is FUN. It's easy, safe, fun and what do you think most of the web sites in the world made their systems with?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  6. #21
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    I'm talking about safe as in type safety, early error detection, all that stuff a compiler can do for you.

    And yes, I have caused a server crash in PHP. (It was a bug in the engine, but still ...) And over time, dozens of buffer overflows have been detected (and fixed) in various PHP functions.

    I know it's easy. I know it's not safe: it encourages bad practices. Look at any PHP+MySQL tutorial out there, and you'll find that it probably uses string concatenation to build queries with data - an invitation to an SQL injection the moment magic quotes are switched off. And in some other circumstances.
    Ah, magic quotes. Source of many a stray backslash in text.
    Then there's register_globals and how simple it is to use uninitialized variables. Together, these are quite the killer.

    The success of PHP comes from its ease of installation, ease of learning (but it's far harder to learn it properly), great availability, and of course its huge built-in library. It's great for quickly doing something.

    But larger systems are, in the end, an abuse of PHP. Its lack of proper package management, hard-to-predict include paths, lack of namespaces and unit-local functions, all those work together to make large systems rather awkward.


    To me, PHP is a language to get work done in, just like Java. But it's not fun.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  7. #22
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Browser-based games
    Message boards
    Portals
    Online shops

    Internet is all PHP. There are few exceptions.
    Even the page you are currently looking at. You can't deny it. It's there.

    I still think PHP IS fun. I have made many many funny things with it.
    Last edited by maxorator; 10-16-2006 at 06:27 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  8. #23
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    lisp looks too similar to some logic concepts, which I hate.

  9. #24
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    I'm not denying anything.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #25
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    just a side comment, but every time I see your post I immediately notice the smilie in your sig and think, "he's being sarcastic again". Now that I have learned here you go disrupting that again.

  11. #26
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by maxorator
    Browser-based games
    Message boards
    Portals
    Online shops

    Internet is all PHP. There are few exceptions.
    JSP, J2EE, .NET, Python CGI, Ruby on Rails, C/C++ CGI, Perl CGI, etc.....

    There are many exceptions, php is one of many technologies for dynamic content on the web.

  12. #27
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    PHP in my opinion, is an "I can't believe it's not C" language! fopen, fclose, fgets, probably gets ... etc etc. I like it all the same. Feels comfortable though. You can do a lot with it! The only annoying thing about it is that it has to be hosted :/

  13. #28
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    I have my own web server running on my computer.
    It can't be accessed from elsewhere but I can test my PHP things.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  14. #29
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    PHP can be compiled... a program like phpBlender or something like that.. been a long time since I looked into it.

    I have been on projects with 7+ people working on massive amounts of PHP code and making it work with Java. We eventually changed to using Perl CGI for most of the work and background stuff, and PHP just for the pretty dynamic frontends you can make easily.

  15. #30
    Registered User
    Join Date
    Feb 2006
    Posts
    54
    one word: brain........
    well, the censorsk dont really like the language, but i'm sure you will (not)

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Am I too late to learn programming?
    By maccat in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-17-2009, 08:49 AM
  2. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  3. Simple Socialising Chat Bots
    By bengreenwood in forum C++ Programming
    Replies: 10
    Last Post: 11-28-2007, 08:42 AM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. Simple simple graphics
    By triplem in forum C Programming
    Replies: 2
    Last Post: 05-19-2003, 03:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21