Me neither. Thanks for correcting me!
Me neither. Thanks for correcting me!
Anyone else used this kind of setup?
No.
Are there any additional tricks I’m missing?
Depending on your testing framework, if your test class is not recreated, the lazy may hold an old and obsolete value. Apart from that, I don’t see any issue.
My personal opinion: I find a little odd to use lazy
like that - I would personally use data classes for these entities, create constants if they are reused and called them directly passing the data class (similar to your first version).
data class Author(...)
data class Book(...)
fun insertAuthor(value: Author): Long { ... }
fun insertBook(value: Book): Long { ... }
fun testCheckOut() {
val authorID = insertAuthor(CANNED_AUTHOR)
val bookID = insertBook(CANNED_BOOK, authorId)
library.checkOut(bookID)
// ...then assert the book is checked out
}
// Companion or top level...
companion object {
val CANNED_AUTHOR = Author(...)
val CANNED_BOOK = Book(...)
}
What do you miss on Jerboa? What bugs did you experience with it?
Sync for Reddit has a one time payment or a subscription. That gives you a pro version without ADS and with power features. It is surper worthy it, great app.
I would guess their main revenue is the one time and/or subscription, not from the ADS but I may be wrong here.
I’m having fun here, will likely stay for long.
My main issue right now is that, I use Reddit mostly for participating in tech communities and they don’t seem to exist here… yet.
I hope that changes in the soon future.
I didn’t delete it but I stop using it for now. I will hold for a few months to see how things develop and decide what to do next. I use Reddit mostly due to Developer communities (Android, Kotlin, etc) which doesn’t seem to exist in Lemmy, yet.
I hope the communities migrate here with time but overall, I’m finding the servers a little confusing and the Android app has space to improve.
deleted by creator