Book on Kotlin as a first class language
-
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.
"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
-
As clarified by Balboos, Java is almost unavoidable, but maybe you can find something here: Reference - Kotlin Programming Language[^] Here is a book that does not require any Java knowledge: Kotlin Apprentice | raywenderlich.com Store[^]
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...
-
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 :-\ )
-
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!
-
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 :-\ )
-
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 :-\
-
Old coders never die, they simply GOTO END.
I wanna be a eunuchs developer! Pass me a bread knife!
Ni !
-
Ni !
RickZeeland wrote:
Ni !
Wo bu shi, ni shi!
I wanna be a eunuchs developer! Pass me a bread knife!
-
I would like to know of a tutorial or a book about the Kotlin programming language that doesn't treat Kotlin as an alternative to Java. Something for warming up the size and structure of "The C Programming Language" or "Think Python" and something more detailed the likes of "Teach Yourself C++ in 21 days". The meaning of "not as an alternative to Java" is: Java preferably not to be mentioned in the book at all. Not even as a bad example. Thank you.
I've read a few of Kotlin books and my favorite for pure Kotlin learning is: Kotlin Programming: The Big Nerd Ranch Guide [^] This first one really builds and teaches Kotlin in good steps and I like the way the Functional aspects are explained. This book helped me understand functional programming and syntax in other arenas more clearly than any other book I've found. For Kotlin learning and Android Development (reason I learned Kotlin) I definitely recommend Android Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides) 4th Edition[^] The 4th ed. covers Android programming and is converted to Kotlin - previous editions focused on Java. I also read Kotlin In Action - Manning pub[^] but I did not care for it.
-
I would like to know of a tutorial or a book about the Kotlin programming language that doesn't treat Kotlin as an alternative to Java. Something for warming up the size and structure of "The C Programming Language" or "Think Python" and something more detailed the likes of "Teach Yourself C++ in 21 days". The meaning of "not as an alternative to Java" is: Java preferably not to be mentioned in the book at all. Not even as a bad example. Thank you.
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.
-
I've read a few of Kotlin books and my favorite for pure Kotlin learning is: Kotlin Programming: The Big Nerd Ranch Guide [^] This first one really builds and teaches Kotlin in good steps and I like the way the Functional aspects are explained. This book helped me understand functional programming and syntax in other arenas more clearly than any other book I've found. For Kotlin learning and Android Development (reason I learned Kotlin) I definitely recommend Android Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides) 4th Edition[^] The 4th ed. covers Android programming and is converted to Kotlin - previous editions focused on Java. I also read Kotlin In Action - Manning pub[^] but I did not care for it.
:thumbsup: 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
-
:thumbsup: 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
-
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 :-\ )
-
I've read a few of Kotlin books and my favorite for pure Kotlin learning is: Kotlin Programming: The Big Nerd Ranch Guide [^] This first one really builds and teaches Kotlin in good steps and I like the way the Functional aspects are explained. This book helped me understand functional programming and syntax in other arenas more clearly than any other book I've found. For Kotlin learning and Android Development (reason I learned Kotlin) I definitely recommend Android Programming: The Big Nerd Ranch Guide (Big Nerd Ranch Guides) 4th Edition[^] The 4th ed. covers Android programming and is converted to Kotlin - previous editions focused on Java. I also read Kotlin In Action - Manning pub[^] but I did not care for it.
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
-
I would like to know of a tutorial or a book about the Kotlin programming language that doesn't treat Kotlin as an alternative to Java. Something for warming up the size and structure of "The C Programming Language" or "Think Python" and something more detailed the likes of "Teach Yourself C++ in 21 days". The meaning of "not as an alternative to Java" is: Java preferably not to be mentioned in the book at all. Not even as a bad example. Thank you.
i found out this to be a good solution, when starting Kotlin. [https://hyperskill.org/onboarding/project?track=347\](https://hyperskill.org/onboarding/project?track=347)