Lurker News
Peter Thiel has written about the "10x rule" for startups, where your innovation has to be 10 times better than the second best option [1].

Have you personally experienced such 10x improvements in your own interactions with software? What were they?
[1] - https://thenextweb.com/entrepreneur/2015/07/13/the-10x-rule-for-great-startup-ideas/

Comments (795) 280 threads

Show all comments

Showing thread 22 of 280

fnord775 replies#
Java vs. the 90s C/C++ standards. Not having to deal with memory management made it so much easier to write applications.

I'm guessing SQL was a 10x innovation at least when it came out, too.

aphextron3 replies#
+1 for this. Java gets shade from the hipsters these days, but it's almost impossible to overstate what a revolution it was for software engineering.
hodgesrm#
Java had an impact similar to COBOL in the previous generation of business apps. I used to call it COBOL for the 90s.

If you don't know COBOL, it was a revolution compared to programming in Assembler. It's hard to overstate how big an improvement it was for productivity.

bhaak1 reply#
Java saved me from having a C++ career. And that was the 90s C++, not the C++ of today. I dodged a bullet there.
benibela6 replies#
Unfortunately I learned Delphi

Afterwards you could not take the other languages seriously
Like comparing two strings for equaltiy, strA and strB.
In Delphi, you write: strA = strB
In Java: strA != null && strA.equals(strB)
Delphi just did everything better

Continue this thread — 6 replies

AnimalMuppet4 replies#
Java brought two things to the table compared to C++: garbage collection, and an enormous library.

I don't think that garbage collection, by itself, was a 10x change. For it to be so, programmers would have to be spending 90% of their effort on freeing memory. Don't get me wrong, garbage collection is a big win when you can use it, but I don't think it's quite that big of a win.
The library... that might almost be 10x, by itself, because of everything that you don't have to write. The combination of that plus garbage collection gave Java quite a kick compared to C++.

Ma8ee2 replies#
Not freeing memory, but tracking down memory leaks. We rarely even hear that term nowadays, but most large commercial programs used to have them.

Continue this thread — 2 replies

thow-01187#
+another huge benefit - Jar files and class files made the IDEs possible. Studying at the university, moving from Visual Studio/C to Eclipse/Java was a wtf-how-is-that-even-possible moment.
stickfigure#
In the 90s I used to spend DAYS hunting down memory issues (corruption, leaks, crashes) in C++ code. Your whole schedule could slip by weeks because of one hard to reproduce issue. I haven't seen that kind of problem in a long time.
ralphc#
I was part of the C++ -> Java revolution, and I'd add the language being much simpler than C++. It felt like a rare, real 80/20 thing where you get 80% of C++'s power for 20% of the complexity.
blunte#
And to think, Java was a tough sell to companies at one time. I had to sneak it in (same way we snuck Linux in) by building some invisible infrastructure thing with it, having it run without fail for months, and then saying, "Oh hey, did you know thing X is actually Java/Linux?"
zz865#
One other thing about Java is it had great libraries. C++ didn't have things like collections so you couldn't write a library that used a 3rd party linked list because your user might not have a roguewave license etc. STL became popular soon after Java which helped.
bluedino#
The same, except today, Python vs C/C++

Novice C programmers would get stumped on opening a file, reading and parsing the data.
Now you have:

    with open('foo') as reader:
      # blah blah
gfxgirl#
Java got it wrong IMO. There are many things that need the same management. C++ allows this vis destructors. You can auto-manage memory, auto manage locks, auto manage files, auto manage GPU resources, auto manage video players, audio players, etc.. etc ...

Java you can only auto-manage memory. All the rest you can't.
Yes I get that C++ has too many foot guns but Java's solution is half assed. There's so much more to resource management than just memory.