I've been bitten by bitwise operations on signed integers a few too many times. Are there any plans on having normal unsigned integer types yet?
New language features since Java 8 to 17
21–30 of 358 posts
Re: New language features since Java 8 to 17
#22I've been bitten by bitwise operations on signed integers a few too many times. Are there any plans on having normal unsigned integer types yet?
https://kotlinlang.org/docs/basic-types.html#unsigned-intege...
Re: New language features since Java 8 to 17
#23Re: New language features since Java 8 to 17
#24Earlier quoted context omitted.
I don’t follow why this is unfortunate?
I assume OP prefers Kotlin or Scala. Personally, I think one of my favorite things about Java is that, all things considered, it's a small-ish language. So I'm glad that Java is both willing to evolve (slowly, letting other people try stuff out first) but also clearly focused on a curated feature set and resistant to letting new stuff in to bloat it. I am very happy to deal with minor things like no multiline string…
Re: New language features since Java 8 to 17
#25Re: New language features since Java 8 to 17
#26Re: New language features since Java 8 to 17
#27I've been bitten by bitwise operations on signed integers a few too many times. Are there any plans on having normal unsigned integer types yet?
Re: New language features since Java 8 to 17
#28Whenever we read about new improvement in Java,it is always inevitably followed by concerns for viability of Kotlin or Scala. However these concerns are never applicable for Closure. I am glad I went all in on Clojure.
Re: New language features since Java 8 to 17
#29Earlier quoted context omitted.
I don’t follow why this is unfortunate?
A lot of people have migrated away from Java to better JVM languages. If Java actually keeps improving, there's a reasonable likelihood that people will stop migrating and those that have may come back to Java from these other langs. Long term this could lead to a loss of maintenance for tools and libraries for these languages which could kill them and leave those that migrated with a dead & decaying ecosystem. Of co…
Re: New language features since Java 8 to 17
#30We must have a “new features since Java 8” post every other day.
At least it isn't yet another link to re-written in Rust headlines.