Quote:
|
One thing in C,C++ favor is this, it is not really very hard to learn the basics.
|
Five things that suck about C:
1. Semicolon-terminated lines.
2. Case-sensitive variable names -- discussed below.
3. Pointers. Passing things by reference in a high-level language shouldn't require me to care about pointers.
4. String space must be known ahead of time. True BASIC accommodates strings up to 4 gigabytes long without my having to worry about telling the compiler how long a string array needs to be. C wastes space if I don't need it and can misbehave severely if I try to store a string that is "too long".
5. Null-terminated strings. BASIC's string functions work just fine with binary data. C's are stymied by binary data that contains a NULL.
Why to avoid case-sensitivity when possible:
It took me a while to see the difference between the URL here and the link it contains:
http://en.wikipedia.org/wiki/BlackBerry
For the fruit, see Blackberry
The difference is obvious once it is noticed (and proximity in the excerpt above makes the difference more obvious than it is on the web page). But who looks for such a subtle difference in the location where it occurs in this example?
Avoiding logic errors in coding is difficult enough. Why multiply bugs or create confusion with case-sensitivity? I prefer to read words, not characters.
Quote:
Basic???
The main reason is it lacked functionality to match the hardware growth
|
Past-tense -- "lacked".
Most hardware growth is irrelevant to me anyway. I am usually trying to manipulate data, not hardware.
If hardware (or the operating system) is not backward compatible, then that is a platform problem -- not a failing of the language.
Why should I willingly adopt Vista and forego the use of any of the DOS programs which have served me well for years?
Quote:
|
as well as apps got larger and numbered lines just kinda started to suck.
|
Modern BASICs don't require line numbers.
My favorite is True BASIC.
http://www.truebasic.com/
That dialect is from "the horse's mouth" -- the original inventors of BASIC.
Unhappily, they made the marketing decision to cripple all but their most expensive version to prevent access to the Windows API or assembly language.
I still use their DOS version for as many things as I can -- it is stellar.
If I need to talk to the Windows API, I use Rapidq -- a free version which was created by a student in college several years ago. It may be hard to find now that RealBASIC bought the source code for Rapidq.
Quote:
|
I've been playing around with AJAX and using php for the server-side work. Interesting stuff.
|
I am generally opposed to client-side scripting.
I have been to too many sites with broken javascript.
Unless I am inspired to tell the webmaster that his javascript doesn't work in my browser, he is clueless that anything went wrong when I tried to visit his site. If I do tell him, he might say "You should upgrade your browser." Wrong answer!
An even worse answer when a site is designed to work only with one browser: "You should use (the latest version of)
my browser."
I usually just go away and find someone who will talk to me in a way that my browser understands -- preferably without javascript or rafts of images. I still make frequent use of a dial-up connection. I have little patience for extraneous images -- or navigation menus which are useless without them.
That some sites require Flash for something as basic as navigation is incomprehensible to me: "We will talk to you only if you turn on your Flash player." Ditto ActiveX -- why would I want to let just anyone run ActiveX on my system?!
If my perl or PHP is so broken that it issues an "Internal Server Error" message, I can know about that without relying on the kindness of a visitor to tell me about it.
My opinion: If a designer thinks that scripting is necessary, then they can spend their own CPU cycles to make it happen -- and experience any broken coding first-hand.
Is the script doing something so fancy that the server's CPU wouldn't actually incur less load by running a tighter script locally instead of doing all the handshaking and bandwidth-consumption involved in spewing 100 kilobytes of supposedly-multi-browser-compatible javascript?
If the script isn't worth spending their own CPU cycles on, then why is it worth 1) my bandwidth to download the script, 2) any of my CPU cycles to run it [my machine might be doing other things besides talking to them], or 3) my frustration if it doesn't work?
Webber