| blah-er wrote: |
| Java was the first one built with .NET in mind |
| i88gerbils wrote: |
| So you're telling us you quoted someone and failed to give them credit in your post? That's bad form. Normally we use quotation marks and put the man's name or the source's name in paranntheses (or footnotes if you want to bother with subscript and chicago style). Also acceptable only in forum environments is to use the QUOTE block tags. |
| blah-er wrote: |
| If you want to program for both windows and macintrash (I wouldn't see why you would, in the first place), I would go with java since it has a run time enviroment for most Operating sytems out there. But for over all power, a OO language, and managbility, I would choose C++ over Java.
Java was the first one built with .NET in mind, and then .NET came out and it was incoperated into C++ compilers, so there is really no need for Java, since VC++.NET has a little newer features. |
| SamHughes wrote: |
| I did not say verbatim.
And FTR, Java and C++ are two of the best languages out there. (But they're still crappy.) |
| Cerium wrote: |
| Im begining to wonder if blah-er is actually Qndre. |
Code: Show/Hide function greeter(greeting) {
return function (name) { print(greeting + ", " + name + "!\n") } } var x = greeter("Greetings") var y = greeter("Hello") x("Earthlings") y("world") |
Code: Show/Hide struct greeter {
std::string greeting; greeter(const std::string& s) : greeting(s) {} void operator() (const std::string& greetee) { std::cout << greeting << ", " << greetee << "!\n"; } }; |
Code: Show/Hide greeter x("Hello");
x("world"); |
Code: Show/Hide vector<int> foo;
... vector<int> bar; transform(foo.begin(), foo.end(), back_inserter(bar), some_function); |
Code: Show/Hide // the type of foo is figured out implicitly
... let bar = map(some_function, foo); |
Code: Show/Hide primes = filterComposites [2..]
where filterComposites (n:ns) = n : filterComposites (filter (indivisible n) ns) indivisible n x = (0 /= x `mod` n) main = mapM (putStr . (++ "\n") . show) (take 10000 primes) |
Code: Show/Hide factorial 0 = 1
factorial n = n * factorial (n - 1) greeter g gee = putStr (g ++ ", " ++ gee ++ "!\n") programmerGreeter = greeter "Hello" alienGreeter = greeter "Greetings" |
Code: Show/Hide #define MYFOR(max) for(i = 0; i < max; i++) |
Code: Show/Hide for (;; i++) |
Code: Show/Hide for (i = 7;;) |
Code: Show/Hide for (; i < 22;) |
Code: Show/Hide for (a=3,b=12;c < 14 && d > 9; calc(), build(), e += 3) |
| Cerium wrote: |
|
Christ, you and blah-er are like polar opposites. Having both of you reply in the same topic should cause the server to explode; its a miracle that it hasn't happened yet. |
| Hookeralla79 wrote: |
| He's just a whiney lazy bitch. |
| SpecShip wrote: |
| upper ring ... lower rings |
| blah-er wrote: |
| And what I said came out of my C++ and Java books |
| Dr Brain wrote: |
| 1. Java can do some things faster than C++ because it's interpreted (if you find this hard to believe, think for a moment). |
| Brain wrote: |
| The differences between C++ and Java GUIs *is* humanly noticable, but this is where I point out that Java GUIs can be developed in a fraction of the time. Unless you're coding professionally (and sometimes even then), the slower GUI is quite worth the quick development time. |
| Cyan~Fire wrote: |
| Which is why I really don't understand the current trend towards Java servers. |