|
sickfile wrote: Java preferably not to be mentioned in the book at all. Not even as a bad example. A look in Wikipedia yields:
Quote: Kotlin (/ˈkɒtlɪn/)[2] is a cross-platform, statically typed, general-purpose programming language with type inference. Kotlin is designed to interoperate fully with Java, and the JVM version of its standard library depends on the Java Class Library,[3] but type inference allows its syntax to be more concise. Kotlin mainly targets the JVM, but also compiles to JavaScript or native code (via LLVM). Language development costs are borne by JetBrains, while the Kotlin Foundation protects the Kotlin trademark.[4]
It would be fair to say, under the above circumstances, that what you ask for is impossible - by design.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
It also yields: a general-purpose programming language and Kotlin also supports procedural programming with the use of functions.
I don't mind that Kotlin targets the JVM. In fact that's what I need it for, Android development.
I just need Kotlin to give me access to the Android API in the form of functions that operate on some objects (data) and let me design the inner workings of my program in procedural way.
Is that impossible by design, given that Kotlin has equal rights as Java on the JVM and supports procedural programming?
Greetings
|
|
|
|
|
|
I think that book, the Kotlin Apprentice might be the best one can find.
Thank you very much, I appreciate it.
PS - I had the same problem when I was learning JavaScript. In 90% of the books the code had half of the lines in html, the other half was css and down there in all that noise was a drop of JavaScript and even that could have been jQuery not vanila JS. Miserable...
|
|
|
|
|
Quote: I had the same problem when I was learning JavaScript. That's the problem with web-development, it's a real hodgepodge, luckily I have succeeded to avoid it till now (and hopefully until my retirement )
|
|
|
|
|
Old coders never die, they simply GOTO END.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
RickZeeland wrote: Ni ! Wo bu shi, ni shi!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Me too and I have zero interest in it. Thankfully I don't need to have any either.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
I have the interest, but not the time as I need to keep up with new .NET functionality and also have to maintain a TeamCity builder and packages deployment.
Oh and some database thingies too
|
|
|
|
|
Heh, I did avoid it for my entire career. I was pretty much able to stay in the firmware/embedded field since the late 70's. I enjoyed the the low level nitty-gritty stuff, and some DSP stuff for flavoring!
|
|
|
|
|
|
you are setting the gold standard for book reviews !
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Thanks, I read a lot and it is often difficult to find just the right book for a specific technology, so I always like to point out good resources when I do find them.
|
|
|
|
|
Much obliged. Plenty of useful information.
|
|
|
|
|
Not sure if this is in violation of your request to find a book that doesn't treat Kotlin as an alternative to Java, but thought I'd share nonetheless. Neil Smyth has a book (here's a preview: https://www.ebookfrenzy.com/pdf_previews/Kotlin35EssentialsPreview.pdf) that does focus on Android development but has pretty good coverage on Kotlin (Chapters 11 through 17). You can use the Kotlin on-line playground for experimentation = https://try.kotl.in. Neil Smyth and his publisher seem to be pretty good about refreshing it as new versions of Android Studio come out. I have the 3.3 book and since then, there's been 3.4 and 3.5; I assume that 3.6 is coming soon.
|
|
|
|
|
Looks great for starters. It has the basics of functions and lambdas.
Thanks
|
|
|
|
|
|
For "Honey the Code Witch": Parsley
The list for Gin-ger is a bit too lengthy.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
The people in the Q/A section are looking for Sage advice.
|
|
|
|
|
But few people have the Thyme to provide it.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
A few of them are cumin along nicely.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: A few of them are cumin along nicely. KSS please
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
But some of them pepper the board with idiocy.
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
For Nelek: Carnation
(He probably understands the joke - I don't expect everybody to)
|
|
|
|