User avatar
Lyn coweat verifiedtransbian @fugi@amazonawaws.com
4w
Java has no import aliases or type aliases? ​no_bitches​

The only way to use two classes with the same name in 2026 is to write com.giant.fuckass.package.namespace.Class
INLINE ???

What is this joke of a language ​
neocat_woozy_ie
1
2
5
0
4w
@fugi May I recommend Kotlin?

It's fully compatible with existing Java code but it does have type aliases (and a bunch of other nice features like null safety and extension methods)
1
0
1
0
User avatar
Lyn coweat verifiedtransbian @fugi@amazonawaws.com
4w
@LunaDragofelis Yes, I'm currently looking into if it's worth it to fiddle Kotlin into this project template I had to use... maybe ​neocat_googly_woozy
1
0
2
0

4w
@fugi if it's using Maven or Gradle, it isn't too hard (I know this because it's done in my team at dayjob) and Java and Kotlin files can even both share the same src/main/java folder.
1
0
2
0
User avatar
Lyn coweat verifiedtransbian @fugi@amazonawaws.com
4w
@LunaDragofelis Yep, seems to be viable! It's a Maven Project, and adding Kotlin into that Module I'm working on was easy and works together fine with the other stuff and its (java) code generation etc :>
1
0
1
0
User avatar
Lyn coweat verifiedtransbian @fugi@amazonawaws.com
4w
@LunaDragofelis Only potential issue is that I have even less clue about Kotlin than Java, but I hope it'll be fine
0
0
1
0