Join Slack
Powered by
I want to make a library that will contain useful ...
# random
a
Aregev2
08/30/2018, 6:18 PM
I want to make a library that will contain useful extensions for the stdlib, anyone has idea / suggestions for it?
o
oshai
08/30/2018, 6:58 PM
I have couple of ideas, the problem with such libs is that they are too general purpose sometimes. Means you end up with a big lib like apache common
oshai
08/30/2018, 7:03 PM
Or guava
a
Aregev2
08/30/2018, 7:40 PM
Got anything subject specific? Can you please share your ideas?
o
oshai
08/30/2018, 7:55 PM
Here are few I did in a couple of projects: head and tail here:
https://github.com/jasync-sql/jasync-sql/blob/master/db-async-common/src/main/java/com/github/jasync/sql/db/util/CollectionsUtils.kt
make nullable act like optional:
https://github.com/jasync-sql/jasync-sql/blob/master/db-async-common/src/main/java/com/github/jasync/sql/db/util/NullableUtils.kt
and this one which is similar to TODO:
https://github.com/jasync-sql/jasync-sql/blob/master/db-async-common/src/main/java/com/github/jasync/sql/db/util/KotlinUtils.kt
some more examples here:
https://github.com/MicroUtils/KotlinMicroUtils
5
Views
Open in Slack
Previous
Next