Earlier quoted context omitted.
> In 2011, Java was on version 7. We're on 22 now in 2024. In the IDE technology, the jump was even larger. In 2011, I was using Intellij 10, now I'm on version 2024. > There have been some paradigm shifts in Java during that time. Streams (Java 8), Lambda expressions (Java 9), the var keyword (Java 10), Records (Java 14), switch and yield (Java 12/14), instanceof (Java 16). The only listed Java feature which represe…
Streams had a pretty huge impact on how a lot of people write code. Also, lambdas came in in 8, not 9. Streams without lambdas would have been pretty painful!
I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
131–140 of 193 posts
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#132The wayback machine is pure nostalgia. Every time I go there I’m truly amazed at what it’s like to have a society wide memory that automatically captures these different moments of our lives. Old pictures I never thought I’d ever see again. Landing pages for old companies I’ve built and only a handful of my closest friends remember. Blog posts from long deleted places, times, and mental caverns. Just incredible.
I try donating every few months. Maybe $5-$10 each time. Like yourself, I think it's an incredible resource and don't mind pitching in( when I can) to help keep it running.
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#133Not to be snarky but 2011 is yesterday for programming, no major shift. I'd imagine almost all code written there would be able to run today.
In the Java world, sure. Other programming language ecosystems tend to have tons of churn. For an anecdote, every TypeScript project I find from 2021 or earlier is simply impossible to build nowadays, meanwhile the ClojureScript code I dealt with in a previous job was able to survive 8 years worth of updates to libraries and the core language. I frequently ran into code that was last modified around 2013 because it j…
For my older projects as long as I could get the right visual studio to install and run (VMs will fix any OS compat issues) I could compile the things out of the box. As we did not go external unless we absolutely had to. These newer central repository projects are not going to end well.
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#134Earlier quoted context omitted.
2011 for Java is nothing. I've used JDBC driver written for Java 1.4 (2002) in Java 17 and I absolutely sure that it'll work with Java 21 just as well. Java backwards compatibility is real and it works absolutely fine unless you do bad things.
I think the last breaking change I remember was enumerations being added, which broke any code that used the class name as a variable name. But I could be wrong; it was almost 20 years ago.
I remember moving to Java8 changed the iteration order of hashmaps etc, which also broke some stuff for us. But again, that was mostly our fault for relying on unspecified behavior.
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#135I promise you that there are major businesses still running on Java 6 code from 2011.
compiled Java class data, version 49.0 (Java 1.5)Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#136Earlier quoted context omitted.
> common lisp, erlang, fortran That's a pretty esoteric list. Javascript would have been a better choice because of widespread deployment by multiple vendors and heavy legacy.
Javascript is still pretty young (comparatively) however I do believe you'd be right in saying that its likely to be around for a very long time.
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#137The first major piece of code that I ever wrote was a publishing workflow management system for a major newspaper. It routed page images to presses and generated pdfs of each page in each edition of the newspaper and made pdfs of each day's newspaper editions and published them to a static website where they were archived. I was only allowed to use perl 4 to write this software and I wasn't allowed to use a database,…
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#138[1] https://www.doomworld.com/idgames/levels/doom2/p-r/rurqta
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#139Earlier quoted context omitted.
It was quite different before the internet. I'm still holding out hope of finding some of my old BASIC programs from the 80s on a 5¼-inch floppy disk in my parents' basement. But they are probably gone.
> before the internet Even before GitHub, probably. Dropbox was a big step forward, still.
Re: I found one of my first programs (Java, 2011) on the Wayback Machine and it runs
#140The first major piece of code that I ever wrote was a publishing workflow management system for a major newspaper. It routed page images to presses and generated pdfs of each page in each edition of the newspaper and made pdfs of each day's newspaper editions and published them to a static website where they were archived. I was only allowed to use perl 4 to write this software and I wasn't allowed to use a database,…
Interestingly, i have a similar story. I created a database publishing platform exactly that time, a was given full control. I created it in Java, and added a JavaScript engine for scripting templates. The initial product was also side in a few months. It also runs to this day. The war file could be run by any Java server. The code, while old, was in a reasonable state, given some of the migrations. I never thought a…