3 ms·
Two other cool things about Java: The library. It had everything. Garbage collection. You didn't have to keep track of when to free memory any more. If you
by AnimalMuppet 8y ago
Two other cool things about Java:
The library. It had everything.
Garbage collection. You didn't have to keep track of when to free memory any more. If you were in C or C++, this meant a major headache just... went away. (If you were in Common Lisp, well, you never had that headache in the first place...)
- pjmlp 8y agoQuite true. I already used Oberon, Caml Light, Prolog and Smalltalk by then, but it was the way Sun was pushing it no matter what that actually made it mainstream, regarding GC adoption. If I am not mistaken it was Guy Steele that stated it brought developers half way to Scheme. As for the library I remember the first commercial Java collections based on the ongoing C++ STL work, before Java 1.2 adopted their own, with a few similarities to Smalltalk ones. C++ on those days had each compiler vendor provide their own view of what a C++ framework should look like, and although RAII was already a thing, very few of them already offered some way of doing smart pointers, with the exception of COM wrappers.
- igouy 8y ago> As for the library … with a few similarities to Smalltalk ones. And the recapitulation of emulated versus native Smalltalk UIs, with Swing versus SWT.
- pjmlp 8y agoYeah, the error there was that Swing does not have the right defaults, so it does require some graphical programming skills to make nice UI experiences out of it, or buying component libraries. And since a large majority doesn't bother to read books like Filthy Rich Clients, the outcome isn't the best.