Thread: Which do you prefer?

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Which do you prefer?

    I just realised how crap scripty-like language like BASIC and ADA are. There are basicly only keywords and thats crap. I like cool symbols and end of line operators (;). Lets take some examples:
    Code:
    // C++ version
    
    for(i = 0; i < 10; i++)
    {
        // whatever
    }
    Code:
    ' BASIC example...
    
    For x = 1 to 10
    ' whatever
    Next
    I think that its too much like psudeo code...

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    personally, I'm a fan of the basic stuff... You don't have to worry about brackets, or semi-colons or any of that garbage... you just type it almost like you would say it... veeeerrry efficient
    EntropySink. You know you have to click it.

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Well, if you like such 'cool' symbols, you should take a look at functional languages, like Haskell:

    Code:
    smaller       :: (Integer, Integer) -> Integer
    smaller (x,y) = if x <= y then x else y     -- determine smallest number of two
    Personally I prefer the more readable languages.

  4. #4
    I've programmed in a number of languages and seen just about all the rest. I can honestly say C++ has the most intuitivly structured language. Basic and others like it are easy, but it can so often lead into horrible practices and code that is the next thing to impossible to debug. When structured correctly, C code is quite likely the easiest to read and debug.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  5. #5
    Evil Member
    Join Date
    Jan 2002
    Posts
    638
    C syntax looks like a divinely inspired masterpiece compared to a Computer Algebra System, like YACAS or MAPLE.

    I like it because it allows more flexibility, like for example combining a for and a while loop in one loop like for(int x = 0; (x < 10) && keepGoing; ++x);

    And there aren't nearly as many keywords to memorize.

  6. #6
    >>C syntax looks like a divinely inspired masterpiece compared to a Computer Algebra System, like YACAS or MAPLE.

    YACAS *shudders*

    I'd say its a 'divinely inspired masterpiece' compared to anything at all. What other language offers such a combination of flexable code (such as Imperitos example) with such power, adaptability, and programmer friendliness?

    The syntax is so flexibile in ways that most people never even think about. Its like having a huge arsenal of tools, and even your tools are adaptable.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  7. #7
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    i luv C syntax. it's amazing.
    hello, internet!

  8. #8
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    same

  9. #9
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    c++ definitly, it may be harder but basic is for losers who cant cut it as a real programmer.

  10. #10
    Seeking motivation... endo's Avatar
    Join Date
    May 2002
    Posts
    537
    I like C++. I don't like C. I also like Java, but still I dont like C. The OO methodology tends towards neater, more readable code - which is nice
    Couldn't think of anything interesting, cool or funny - sorry.

  11. #11
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Java == Evil!!!!!!!!

  12. #12
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Shutup Face_master... you probably have never even used Java... it's quite a decent language... get off the bandwagon and form your own opinions..
    EntropySink. You know you have to click it.

  13. #13
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    "There are basicly only keywords and thats crap"

    Well what did you expect?

    "I like cool symbols and end of line operators ("

    Well then why dont you check out Brain**** or something, should be up your river.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why do you prefer C#?
    By Welder in forum C# Programming
    Replies: 38
    Last Post: 12-06-2007, 06:54 AM
  2. which way you prefer
    By l2u in forum C++ Programming
    Replies: 4
    Last Post: 06-07-2007, 11:39 AM
  3. What Font Size do you prefer?
    By SourceCode in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 03-23-2003, 04:58 AM
  4. Which one will you prefer: cout or printf
    By Yoshi in forum A Brief History of Cprogramming.com
    Replies: 35
    Last Post: 02-06-2002, 10:42 PM