SteamKit deciced to modernize their generators a bit, and this was always a rainy-day task for me to do it anyways. I decided to port the generators from Groovy to Kotlin
Groovy and Kotlin have very similar syntaxing so it wasn't too hard to port it.
Pros:
Compile time checks
More concise code & less boiler plate
IDE support
No wierd groovy syntaxing, like << leftshift to append 🤯
Cons:
Potentially longer compile times. -> since the generators are small and narrow, I didn't notice any longer compile times.
Checklist
[x] Code compiles correctly
[x] All tests passing
[x] Samples run successfully
[x] Extended the README / documentation, if necessary
Description
SteamKit deciced to modernize their generators a bit, and this was always a rainy-day task for me to do it anyways. I decided to port the generators from Groovy to Kotlin
Groovy and Kotlin have very similar syntaxing so it wasn't too hard to port it.
Pros: Compile time checks More concise code & less boiler plate IDE support No wierd groovy syntaxing, like
<<
leftshift to append 🤯Cons: Potentially longer compile times. -> since the generators are small and narrow, I didn't notice any longer compile times.
Checklist