What is your favorite language for developing applications for people to download and run... so take in to account minimum runtimes etc.
My favorite development language is Delphi at the moment. Simply because its a RAD (rapid application development) IDE (Integrated development environment) and the runtimes are minimal and included in the single .exe. Unlike language such as VB which has MB's of runtimes and .net which has about 30MB i do believe of runtimes and the fact its bytecode is another big drawback.
The only bad side to Delphi i have found is the damn syntax... when your used to using curly braces for syntax and then all of a sudden your not allowed to use them... it's really hard to adjust to!
I like to use C++ for large programs, C for small programs, and PHP for small but highly string-oriented programs (too lazy to recode the functions in C =P).
Delphi used to be my all-time-favorite language, both because of the IDE and syntax, but now I don't use it much...not sure why, though. But, it is good for cheating while making Windows GUIs in C if you're using MinGW/GCC =P design it in Delphi, copy the sizes/positions into your C code, boom, nice interface.
My favorite language of all would definitely be C. It gives you so much control and insight about how computers work. Teaches you good habits by forcing you to clean up your own garbage and managing memory. It's also very efficient when implemented correctly. I tend to use C++ only for the larger programs. I sometimes use assembler for very very small programs because I find it fun.
VBA, some people are not ever so keen on OOP and it can sometimes be a bit bloated, but for larger progammes it is useful:). And my faverouite is C++ i use it for more or less everything i code, but i do dable in NASM when i get bored and want a change.,
With large programs, traditional C becomes cumbersome to maintain, whereas C++ with it's OOP is easier. For example, one file initializes the main class, whatever that may be, in a different file. Then that main class handles the application execution (main threads, etc) using smaller, module-like classes. Say that you had this project layout:
MyProject.cpp contains the main() function, where the program starts. In main(), it initializes a CApplication instance from CApplication.cpp. CApplication has sub-classes for memory management, user interfaces, and filesystem operations. Does that not look easier to manage then just functions?
Edit: This is a response to VBAssassin's question, maybe I'll write an article on it.
I actually agree with you both... i never use OOP in PHP for reasons i have mentioned before and for the bloat reasons.. but for larger projects that are software related i prefer OOP simply because the encapsulation is soooooo useful along with other things OOP offers as well.
Just wondered why C tho... ok take out the OOP... then why C? You have said that C owns... but C++ can do everything C can plus more and you are not forced to use C++'s OOP when you develop applications in C++... C++ is not like Java which forces you to use total OOP.... so again why C? Especially when C++ has better memory management etc...
You do not have permission to post replies to topics in this board. If you want to join in with discussions and create new topics please register. If you want to register your own free account with us, please click here.