Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wice
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
wice
3y ago
GraalVm is great, it made our Spring REST API app go from 10+ seconds to 0.5 seconds on startup (not to mention the lower mem and cpu requirements). Except… when we try to build it with Jenkins on a Kubernetes cluster, this happens: https:
2.
▲
by
wice
3y ago
Kotlin’s decision to make every exception runtime is the main reason I don’t use Kotlin. It’s especially baffling that they realized the issue with implicit nullability and got rid of it (though not with Java methods, which opens another ca
3.
▲
by
wice
4y ago
This reminds me of stories about directors intentionally putting ridiculously over-the-top violent or sexual scenes in their already quite violent or sexual movies for the rating board to focus on, and getting a PG-13 rating (instead of an
4.
▲
by
wice
4y ago
That's the point, Sandy doesn't tell Peter her sum, nor vice versa. Sandy only knows the sum, Peter only knows the product, and they both know that the other doesn't (yet) know the answer. It allows them (in turns) to elimina
5.
▲
by
wice
6y ago
You can have multiple public classes in a file in Java. You just have to wrap them in an outer class, that acts like a module, and declare them “public static”. You can then “import static” the module class in other files, and you can use a
6.
▲
by
wice
6y ago
These are not the only alternatives. E.g.: - introduce a non-zero number type, define division as Number/NonZeroNumber -> Number, and provide a simple, non-verbose way to convert a Number into NonZeroNumber (with default value in ca
7.
▲
by
wice
6y ago
Since the syntax didn't (and cannot) become any less flexible, it's unfortunately still true and always will be. As annoying as it is to struggle with the rigid syntax of Java while writing it (which also results in overly verbose