-
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...
-
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 :)
-
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.
-
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.
-
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.
-
>>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.
-
i luv C syntax. it's amazing.
-
-
c++ definitly, it may be harder but basic is for losers who cant cut it as a real programmer.
-
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 :)
-
-
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..
-
"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.