[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/Kotin/

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 62
Thread images: 14

File: Kotlin-feature-250x250.png (15KB, 250x250px) Image search: [Google]
Kotlin-feature-250x250.png
15KB, 250x250px
Is Kotlin the best programming language for a beginner to learn?

https://www.raywenderlich.com/132381/kotlin-for-android-an-introduction
>>
File: 1451373267878.png (129KB, 314x278px) Image search: [Google]
1451373267878.png
129KB, 314x278px
>>60495171
>transcompiling trash
No?
>>
>>60495230
Except it doesn't transcompile lmao
>>
File: 1494095549556.jpg (38KB, 657x527px) Image search: [Google]
1494095549556.jpg
38KB, 657x527px
>>60495395
Stunning lack of ignorance on display here. Educate yourself, fool.
>>
>>60495395
Dumbass.
>>
>>60495230

>anime

Into the trash
>>
File: 14895126140920.jpg (43KB, 485x600px) Image search: [Google]
14895126140920.jpg
43KB, 485x600px
>>60495555
What a waste of quads.
>>
File: Nk7WJhQ_d.jpg (19KB, 270x320px) Image search: [Google]
Nk7WJhQ_d.jpg
19KB, 270x320px
>>60495171
>Java 8 solved some language issues and corrected even more with Java 10.
???
https://en.wikipedia.org/wiki/Java_%28programming_language%29?wprov=sfla1
>JDK 1.0 (January 23, 1996)
>JDK 1.1 (February 19, 1997)
>J2SE 1.2 (December 8, 1998)
>J2SE 1.3 (May 8, 2000)
>J2SE 1.4 (February 6, 2002)
>J2SE 5.0 (September 30, 2004)
>Java SE 6 (December 11, 2006)
>Java SE 7 (July 28, 2011)
>Java SE 8 (March 18, 2014)

¿¿¿
>>
>>60495766
Ever heard of OpenJDK?
>>
>>60495171
no it's fucking not
it's a literal meme you faggot
>>
>>60495850
I'm on Linux so yeah, what's this got to do with anything? The versions are in sync. Version 10 info page only has a placeholder.
>>
File: ooga booga.png (92KB, 979x211px) Image search: [Google]
ooga booga.png
92KB, 979x211px
>>60495876
I don't know. Ask the author maybe?
>>
>>60495555
Digits don't lie.
>>
>>60495901

assmad basement dweller jelly over the fact a nigger has a job hes too autistic to get
>>
File: woman programmer.jpg (30KB, 551x206px) Image search: [Google]
woman programmer.jpg
30KB, 551x206px
tfw no African programmer gf to help me fix my Kotlin code
>>
>>60495918
You will always be a nigger though.
>>
So I want to get into android. Should I go with Java,kotlin or xamarin.
>>
File: uncle joe.png (193KB, 371x407px) Image search: [Google]
uncle joe.png
193KB, 371x407px
>>60495989

I'm Slav
>>
>>60496006
That's even worse.
>>
File: fjxkgj.jpg (93KB, 480x360px) Image search: [Google]
fjxkgj.jpg
93KB, 480x360px
>look at Kotlin
>all the experts are Russian, Indian, Finnish, Ghanaian or Pakistani
>no Americans

No wonder Americans are mad
>>
>>60496005
xamarin is an ide

learn both java + kotlin. kotlin uses a lot of the java standard libraries.
>>
>>60495230

compiling to bytecode isn't exactly the same thing as compiling to another script
>>
File: tenor.gif (627KB, 498x247px) Image search: [Google]
tenor.gif
627KB, 498x247px
>>60495436
Transcompile means source-to-source compilation, whereas Kotlin is source-to-binary, so actually your stunning lack of ignorance is what's on display.
>>
>>60496214

jvm bytecode is somewhere in between binary and source, I can see why you might call that transcompilation I guess.
>>
>>60495171
If you want to learn a JVM language, sure
>>
>>60495171
nope, it has too much non-essential features and syntax sugar which can be confusing for a beginner. starting with java is better

>>60495230
but it compiles to java bytecode

>>60496244
>A source-to-source compiler, transcompiler or transpiler is a type of compiler that takes the source code of a program written in one programming language as its input and produces the equivalent source code in another programming language.
java bytecode is an instruction set for the jvm, and not another programming language. by that logic C is transpiled too because you could theoretically program directly in machine code it compiles to if you wanted.
>>
>>60496657

no machine runs java bytecode directly
>>
>>60495436
>>60496214
Two people trying to call each other names but failing hard

>stunning lack of ignorance
>>
>>60496699
that's irrelevant. also https://en.wikipedia.org/wiki/Java_processor. also the Java Virtual Machine does run java bytecode directly
>>
>>60495171
I started with Python 2.7, it eased me into object oriented programming, unlike with java to even compile anything you need to understand what a class, method, and typed variables are. You can just write print('hello world') in the IDE and you just wrote a program, and the general syntax in the language is ezpz.
>>
>>60496748

>virtual machine
>directly

by that logic, a python inter
>>
>>60496806

by that logic, a python interpreter runs python directly
>>
>>60496699
>no machine runs java bytecode directly
>no machine
Java virtual machine does :^)
>>
>>60496816
it does. what's your point?
>>
Never understood why application development on android is made so arcane.
Why can't you just link to the android binaries when you need something OS related and use whatever ui toolkit like with normal application application development?

Am I missing something?
>>
>>60496873
Well you kind of can with ndk but you for GUI application you still need to launch it as java program.
The build tools and the whole infrastructure is still a big fuck you to programmers.
>>
>>60496873
> the android binaries
This OS isn't running on one single console or even just on one variant of ARM / X86.

You're not gonna link to all present and future variants of ARM or whatever, so no.

> and use whatever ui toolkit like with normal application application development
Yea, just use WinForms based GUI frameworks on an OS that isn't running Windows and GTK based GUI frameworks on an OS that isn't running Xorg... unaltered. Ehm, wat?

> Am I missing something?
Yes. Massively.

>>60496903
> The build tools and the whole infrastructure is still a big fuck you to programmers.
A bunch of it is pretty good. And for build tools, 3rd party stuff works (people developing on a scala stack are usually using something entirely else involving the really nice sbt and so on).
>>
>>60497001
PS: They still do provide the "NDK" if you really want to code some shit natively. But as default, the ART VM is a better choice.
>>
File: 1410968942144.jpg (47KB, 320x361px) Image search: [Google]
1410968942144.jpg
47KB, 320x361px
>>60496831
>>
>>60495171
>fun main(args: Array<String>){
>fun
Disgusting
>val scope = "world"
>val
Absolutely disgusting
>println("Hello, $scope")
>$scope
What the fuck were they thinking?
>Statements separated by newline character.
DOA


Why do new languages always seem to be designed by people who are only familiar with one or two languages and don't consider the pitfalls of the shinny bits they mash into their familiar syntax.
>>
>>60497139
>program only in js, php and java from university
>have to implement new language for google
>take all the bad parts of every language you know
>>
>>60497139

>Hating on type inference
>Hating on variable expansion in strings
>>
>>60497139
nothing wrong by any of those

>>60497156
>have to implement new language for google
what are you talking about?
>>
>>60497237
with*
>>
Golang is thee best language for a beginner

>designed to be as easy to learn as python
>on par with Java and C++ in terms of performance

Once you learn Go you can branch out and learn any other language very easily, but you won't want to. There are a lot of people hiring Go devs right now too.

"There are two type of languages, those people hate and those no one uses".
>>
>>60497139
yeah it's disgusting
>>
File: 1494247923268.png (159KB, 345x345px) Image search: [Google]
1494247923268.png
159KB, 345x345px
>>60497139
>nitpicking syntax
>no mention of any language features at all
better get back to your first year cs homework, kiddo
>>
>>60497824

ugly syntax is enough to repel me from a language
>>
>>60497883
you must really despise C++ then
>>
>>60496657
>but it compiles to java bytecode
Yeah, after generating native Java code.
>>
>>60498221
nope

kotlin compiles directly to bytecode.
>>
>>60498255
Citation.
>>
File: kotlin compile.png (52KB, 675x479px) Image search: [Google]
kotlin compile.png
52KB, 675x479px
>>60498276

https://www.manning.com/books/kotlin-in-action
>>
>>60495171
>https://www.raywenderlich.com/132381/kotlin-for-android-an-introduction

Is this really the best option out of free learning resources for app development in Kotlin?
Or should I not bother and start with Java like a normal person?
>>
>>60498600
i'd probably get familiar with java first and then learn kotlin.
check out head first java. it's the "first" java book anyone ever reads. after you're done with that id recommend "java how to program" early objects/late objects by paul deitel
>>
>>60499183
I don't want a Java book, I want an Android App book. Yes, I'm that kind of faggot.

I was hoping there'd be an analog to Google's course on Udacity that teaches making an app from scratch in Java. I'm halfway through with that and it's pretty good, but I'd rather not waste my time with Java since such an option has appeared.
I guess I'll finish the course and then figure Kotlin out by myself.
>>
>>60499334
time learning java is not wasted when your end goal is to learn kotlin properly.
>>
it's like they try to save up few lines of code by making code unreadable, like Javascript ES6
>>
is this a good time to get into android dev?

i want make apps, but java seemed a mess. not much programming experience but i learn quick. where should i start?
>>
>>60502060
>where should i start?

Nowhere yet.
There's a ton of stuff for Java, but not much for Kotlin.
Either hold off until Kotlin resources mature or bite the Java bullet.
>>
File: minimum-Android-app-price.jpg (26KB, 1024x640px) Image search: [Google]
minimum-Android-app-price.jpg
26KB, 1024x640px
there is no fucking ide for this shit in playstore or there is?

I want to give a try.
>>
>>60502425
Do you want something like Swift Playgrounds? Because it ain't happening.

There's this, though: try.kotlinlang.org
Thread posts: 62
Thread images: 14


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.