News for hackers. Stuff that matters.
Re:The One Billion Row Challenge by winrid on Thursday January 04, 2024 @03:57AM (#38864723)
It looks like they mostly work in JS, so maybe it's the type definitions that look clunky.

Java is explicit, yes. This is intentional :)

Re:The One Billion Row Challenge by brrrrrm on Thursday January 04, 2024 @10:26AM (#38868076)
yea, I guess it's the lack of human-friendly default assumptions mixed with prescriptive design patterns. definitely an anachronistic design intent :(
Re:The One Billion Row Challenge by winrid on Thursday January 04, 2024 @03:10PM (#38871624)
have you worked with any compiled languages? It's not much different. It can get a lot worse ^_^. Java's one of the best languages to work in IMO.
Re:The One Billion Row Challenge by brrrrrm on Thursday January 04, 2024 @03:35PM (#38871904)
I work professionally in C++, but I wouldn’t tout it either.

I find Python to be the most pleasant personally.

Re:The One Billion Row Challenge by winrid on Thursday January 04, 2024 @05:41PM (#38873298)
Python with types is indeed great.
Re:The One Billion Row Challenge by promiseofbeans on Thursday January 04, 2024 @01:57PM (#38870828)
Funny thing is, most js devs do typescript now, which is the same as java, of not worse because you need an extra colon for your static types
Re:The One Billion Row Challenge by brrrrrm on Thursday January 04, 2024 @02:25PM (#38871138)
Weird to think typescript is similar to a language that requires a class definition for “hello world” lol. You can’t even fit it on a single 80 character line…
Re:The One Billion Row Challenge by winrid on Thursday January 04, 2024 @03:12PM (#38871645)
Putting everything in a class has some really nice benefits.

For example, for performance monitoring/debugging, it's really nice to see memory usage and thread creation by package/class. Whereas, I've seen teams spend weeks trying to find memory leaks in NodeJS applications, because you just get "here's general usage by object-shape". Would literally take me less than a minute with Java...