Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wscp-dev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
wscp-dev
3y ago
thank you for giving it a read!
2.
▲
by
wscp-dev
3y ago
I do believe that number will go down in the coming releases; things like valhalla will allow us to pack data representations much more efficiently after all. the only things that really benefit from object identity are behaviors, not data.
3.
▲
by
wscp-dev
3y ago
did that to make it a bit clearer what I was really optimistic about, but I unfortunately can't edit the hn post itself.
4.
▲
by
wscp-dev
3y ago
it's a matter of standardisation again. Java's standard is like C++; ponderous. The record pattern jep indicates in final footnotes that something like unapply may be in the works, so all hope is not lost.
5.
▲
by
wscp-dev
3y ago
I did title it that way at first but ended up changing it at the last second, ended up shunting it off course.
6.
▲
by
wscp-dev
3y ago
Ahh, true. I need to find a way to add sorting by recent updates to my site.
7.
▲
by
wscp-dev
3y ago
Ill add that in, somehow forgot about that golden bit of info
8.
▲
by
wscp-dev
3y ago
With valhalla, we will have explicit nullability as well, so that problem will also be handled.
9.
▲
by
wscp-dev
3y ago
That is true, but there are many who have discussed that. I wanted to bring some attention to the new syntactic changes Java brings that can help with implementing better logic.
10.
▲
by
wscp-dev
3y ago
Not by that much... the problem is Java's build systems. Theyre what complicate and slow down java development 90% of the time.
11.
▲
by
wscp-dev
3y ago
Oracle has definjtely done bad things; mismanagement of java is not one of them. They got a pile of crap and turned it into something competent.
12.
▲
by
wscp-dev
3y ago
What a marvel of engineering.
13.
▲
by
wscp-dev
3y ago
Id rather say use kotlin. It comes with a better type system with explicit nullable types, proper closures, and syntactic sugar to easily enavle beneficial programming patterns. Nd it is very compatible with Java itself, interop is dead sim
14.
▲
by
wscp-dev
3y ago
Java has in recent times actually removed some apis from the standard library, and made some inaccessible (undocumented internal apis especially) so any advanced frameworks that use them would have been affected.
15.
▲
by
wscp-dev
3y ago
Yes/you/do/but/the/ide/does/it/for/you/so...
16.
▲
by
wscp-dev
3y ago
Thatll probably come in about a year or so going by the pace of valhalla's completion.
17.
▲
by
wscp-dev
3y ago
That is an extremely debatable topic. Which is why kotlin completely ignores checked exceptions. Frankly, Id rather have a result and optional/nullable type like in rust/kotlin than deal with exceptions in any capacity.
18.
▲
Java 21 makes me like Java again
(wscp.dev)
412 points
by
wscp-dev
3y ago
|
742 comments
19.
▲
by
wscp-dev
3y ago
I think the experience is better with more well designed languages like Kotlin, which can reduce boilerplate and allow you to focus on the handler and controller logic instead of boilerplate. Regarding magic... I think it is a matter of pul
20.
▲
by
wscp-dev
3y ago
well... My company was aiming to do codegen to fix errors. We took quite some time to figure out what to do with AI in our product. When we finally implemented something, we found apis like gpt4 to be quite expensive, though GPT4 did work w
21.
▲
by
wscp-dev
3y ago
it would depend on whether the frontend generates optimal LLVM IR for the given code. For example, if a language implemented multiplication through repeated addition (though I think LLVM may be able to optimise that itself), the result woul
22.
▲
by
wscp-dev
3y ago
hugo's nice.
23.
▲
by
wscp-dev
3y ago
could you elaborate on your second point? As in, are there any specific ways you sort posts other than chronologically?
24.
▲
by
wscp-dev
3y ago
I think that all came down to the fact that macs were popular with a certain demographic, and that demographic didn't include many programmers. I think I will use shortcuts though, it seems like a nifty gui automation tool.
25.
▲
by
wscp-dev
3y ago
Well, at least they aren't asking their users to give them per-download royalties yet...