Live data from Hacker News

Tell HN: I kinda want to go back to Java

news.ycombinator.com

41–45 of 45 posts

Re: Tell HN: I kinda want to go back to Java

#41

As a TypeScript lover here are the things I dislike about Java: * Comparably slow startup. It seems to take so much long to compile the code and startup the JVM for a large application compared to a similar JavaScript/TypeScript application. * Yes, Java is verbose and that can be annoying but this super low on my list. I can work with this. * Java forces OOP on you. The original benefit of OOP is efficient memory con…

Generally though Java error messages make more sense. I have been experiencing extreme pain picking through 200 lines of Typescript error output for what amounts to 4 instances of a type without a required property in the codebase.

Re: Tell HN: I kinda want to go back to Java

#42

Java is quite popular, so it's easy to go back. But try C# out. It's years ahead of Java in performance, features, and syntax quality. I've been doing .NET for years and had to spin up a Java Spring Boot app and it was so painful compared to .NET (esp maven/gradle vs nuget).

I love C# the language and used it from 2008-2020. But C# is tied to the boring enterprisey Microsoft shops.

Yes I know C# is cross platform and I got my start working with AWS deploying C# apps in Linux runtime environments in both Lambda and ECS/Docker/Fargate.

To a first approximation no one chooses .Net for green field projects except for old school MS shops.

Re: Tell HN: I kinda want to go back to Java

#43
post #6

I’m sorry, you think Python helped us invent LLMs and without it we wouldn’t have? Are you serious right now? You do realise the Python libraries which work in this space are written in C, right? Java wasn’t just too verbose, it had bad IDEs and build systems. If you want to go back, might I suggest Kotlin or C#?

I was referring to the language that a lot of math heads and NLP folk were married to because of specific shortcuts. If those same people had targetted C to do their high-level matrix math and other work, the pace would have been too slow. They needed the high level frameworks such as tensorflow or Pytorch to get us where we're at.

Re: Tell HN: I kinda want to go back to Java

#45
post #26

Earlier quoted context omitted.

I hate Python more than anyone I know. My nightmares are filled with people repeatedly chanting "programming is done by consenting adults." Hearing someone say "Pythonic" as a synonym for clever/good, or having someone explain their latest "genius" GIL workaround... boils me. So it gives me no pleasure to say this, but one would have to be a complete fool to believe Python wasn't absolutely instrumental in the AI rev…

Had, not has. Eclipse was horrible imo. The libraries you mentioned are written in c. Id go so far that everything bad about the current state of AI, including its lack of security features is exactly because Python “developers” wrote it. To each their own I guess..

[deleted]
Post reply on HN