![]() |
Quote:
Quote:
If they now have to learn C++/C for the business world, they will hate not having a built in function to do it for them, and maybe transpose that hate to C++... I have a strong C background. Before I used c++, I didn't mind malloc, calloc, free, memcpy, etc... Now that I've been programming in C++ for quite some time now, spoiled by the new and delete commands, it's hard for me to actually program in C. I still can but it's like "why do all the trouble and memory managing when you can do the same thing in c++ with no worrying." I can't imagine how hard it would be for someone to switch from java to c++, c, or asm. |
Quote:
For client-side programs, I would rather use c++. I like the c++ interface a lot more... |
I'm surprised nobody has mentioned one of the best things about Java: it's fully portable. Yes, you can use libraries like Gtk or Qt in C/C++, but those are usually hideously ugly and a pain to install on anything except *ix (n left out to include Irix).
You write one program in Java, it runs on all the major platforms, and all the major architectures. No recompiling, no library dependancies, just pure, beautiful object code. Also, the argument that Java is slow is becoming less-and-less valid as JIT compilation becomes more-and-more effective. Personally, I love Java. For what it does, it's one of the best, if not the best languages out there. On the other hand, it is not designed for simple text-based apps, nor is it designed for super-complex stand-alone apps. Finally, as for the whole "standards" thing: Java is far more of a standard than VB ever was or will be. Also, Java was documented and standardized long before there was finally an ANSI C/C++ standard. |
favorite to write code in: PHP, Java.
favorite "real" language: C++ Least fav: asm I would go into the reasons why i like PHP, C++, and JAVA but im am way to lazy right now. I must admit i am also guilty of occasionally using VB:rolleyes: to code small windows appz. |
I don't see why everyone likes all the other languages besides pbasic, I don't see anyone programming their robots in c++ or VB.
|
I believe this was a question about programming in general, not robot-specific.
|
mmm C and C++ are tasty :D
java is one of my personal favorites for web applications perl for everything else ;) *ponders* :] |
I don't know if anyone actually *likes* PBASIC.. but it's a decent language to get a niche job done quick and dirty. No one is going to write any enterprise applications in PBASIC any time soon.
The new additions to the syntax in 2.5 make it MUCH more similar to most other languages, which is a great thing. |
Personally I'm a C++ kind of guy. I like messing around with OpenGL. Making demos.
|
My favorite language would most definitely have to be C++. I've been using it for quite a few years, and I've grown quite used to it and some of it's features, such as being able to compile on different operating systems. However, for quick development, that is, being able to start and finish a minor project in the same hour, nothing seems to be able to beat visual basic. Not the most powerful language I've ever seen, but it's ability to produce windows-compatible applications complete with a professional-looking GUI is quite amazing.
|
Quote:
Really? Oh my god. mary, mohamad and Xenu should re-educate you... Since when is Java a cross-platform language? Quote:
Oh well, any ways, i am a retarded baptist and i would like to know if the linux kernel, it self, is consider be an operating system? and, uhm, say if i was to download the linux source then modify it and screw around with it, would you still consider linux better then windows? Anyways, please note that i am not anti-o/s but i just want to make sure i have my facts right... |
Quote:
Quote:
Quote:
If you download Linux, screw around with it, and then recompile it, it's no longer Linux. It's now your custom code based off of Linux. Anyway, this is kinda like asking "if I went in and randomly changed a few bytes of user.dll, would you still consider Windows to be better than DOS?" Even so, I would still consider your version of Linux to be better than Windows for the simple reason that I could take your source code, fix it, and have it working again if I chose to. --Rob |
It is always fun to watch rob deal with a newb. Usually he can keep his cool, but not always. Rob, you are hilarious.
|
Quote:
Now where should I start arguing Rob’s propositions. Should I state that Java code runs on a VM? Or should I state the facts of the “Level of abstraction”. No, I got it, I should argue the fact that he had misread my statement. Quote:
Where did I state the Bjarne was the most important person in the computing world? Eh, we Canadians Baptist must be blind! Quote:
JavaVM adds a level of abstraction or a layer that the code runs on. Java, like you said, can compile the same source code for any version of the JavaVM or any port of it. Java it self, compiles code that’s dependent to the JavaVM. JavaVM in this sense is a platform, the compiled Java code doesn’t run on the system but rather on the JavaVM. The JavaVM runs on the system, have you read Design Patterns (ref: Proxy (207)). Proxy design is like the design used in the JavaVM. The proxy objects allow accesses of many objects indirectly. JavaVM has objects that mirror the systems API. Quote:
Now, I don’t understand what I can not say C/C++ is the closet thing, right now, to a cross-platform language, either way; I challenge your arguments and thus I should able to challenge your statement, “And don't say "C/C++"” (Ala, you have not provide any adequate proof that your statement is fact). C/C++ is more of a cross-platform language then java, because when the compiler compiles its code, they compile code that the native system can understand, java compiles byte code that depends on the JavaVM which could reside on or above the: services/daemons layer or application layer. When you run C/C++ code, the code can run on the kernel level, daemon/service level, application or any other layer/level. I know for a fact you can create an application that can ask a file for an entry point then continue executing the code from there, this could add another layer of abstraction. You can do a lot with a ported version of the standard library, but you are right when you say that you need system dependent API to do GUI. I guess I can safely assume you do not know what controls the GUI drawing API in an operating system, I can assume this by what you have stated, “(MFC, X11, etc).”, MFC and X11 isn’t anything a like, one is a wrapper and one provides API for drawing, I will let you guess which one is which. Most the daemons or services written are written in C or C++. These daemons are executed by the kernel, the daemons run services like: apache for http server or ftp services, in windows daemons are called services. Without these services you can not do much. This daemons/services are vital to an operating system and it is one of the components that make an operating system operate. Quote:
Anyways, I wrote enough about this, here some links:. Linux for newbies If you wish for further proof of my statements, please do not be afraid to ask. Rember, this isn't my vocation... Nor i think it's yours, but it's only me opinion. |
My preferred programming language is PHP. I worked as a databse developer.
|
| All times are GMT -5. The time now is 18:19. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi