zlacker

[parent] [thread] 3 comments
1. lenkit+(OP)[view] [source] 2025-12-03 18:08:36
Coding repetitive for-loops for everything and mind-numbing error handling put everywhere makes line count bloat up like crazy. Go is one of the most verbose languages I have seen and I say this as a guy coding in Go in my daily work.

Evidence is easy - think of a problem and ask LLM to generate idiomatic examples (leverage Java streams, with functional decomposition, etc) in Go and Java and with error handling. You will find that more often than not, the Java line count is far smaller.

replies(1): >>the_gi+Yy
2. the_gi+Yy[view] [source] 2025-12-03 20:54:32
>>lenkit+(OP)
I also code go daily for work, and while what you say is true, it's still far less than what I remember from working with Java, which was constantly wrapping mundane crap in classes and other stuff.
replies(1): >>lenkit+LK1
◧◩
3. lenkit+LK1[view] [source] [discussion] 2025-12-04 06:55:48
>>the_gi+Yy
Yeah, well you can write "enterprise 10k patterns crap" in any language. Java projects suffered from the craze of those initial years where every "architect" and their grandmother insisted on patterns.

Idiomatic, Modern Java is written quite differently. Today, Go has a lot of arcane, noisy, complex code too. Ex: many, many k8s Go projects.

replies(1): >>ngrill+OX5
◧◩◪
4. ngrill+OX5[view] [source] [discussion] 2025-12-05 13:06:41
>>lenkit+LK1
What is an example of a modern Java open source codebase, so I can have a look?
[go to top]