View Full Version : Which do you prefer?

09-16-2002, 05:18 AM
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:
// C++ version

for(i = 0; i < 10; i++)
// whatever
' BASIC example...

For x = 1 to 10
' whatever
NextI think that its too much like psudeo code...

09-16-2002, 09:59 AM
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 :)

09-16-2002, 10:32 AM
Well, if you like such 'cool' symbols, you should take a look at functional languages, like Haskell:

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.

09-16-2002, 10:42 AM
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.

09-16-2002, 11:22 AM
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.

09-16-2002, 11:30 AM
>>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.

09-16-2002, 11:40 AM
i luv C syntax. it's amazing.

09-17-2002, 03:34 AM

09-17-2002, 03:44 AM
c++ definitly, it may be harder but basic is for losers who cant cut it as a real programmer.

09-17-2002, 04:03 AM
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 :)

09-17-2002, 04:25 AM
Java == Evil!!!!!!!!

09-17-2002, 06:18 AM
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..

09-24-2002, 05:35 PM
"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.