/Kotin/

Is Kotlin the best programming language for a beginner to learn?

raywenderlich.com/132381/kotlin-for-android-an-introduction

Other urls found in this thread:

en.wikipedia.org/wiki/Java_(programming_language)?wprov=sfla1
en.wikipedia.org/wiki/Java_processor.
manning.com/books/kotlin-in-action
raywenderlich.com/132381/kotlin-for-android-an-introduction
twitter.com/NSFWRedditImage

>transcompiling trash
No?

Except it doesn't transcompile lmao

Stunning lack of ignorance on display here. Educate yourself, fool.

Dumbass.

>anime

Into the trash

What a waste of quads.

>Java 8 solved some language issues and corrected even more with Java 10.
???
en.wikipedia.org/wiki/Java_(programming_language)?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)

¿¿¿

Ever heard of OpenJDK?

no it's fucking not
it's a literal meme you faggot

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.

I don't know. Ask the author maybe?

Digits don't lie.

assmad basement dweller jelly over the fact a nigger has a job hes too autistic to get

tfw no African programmer gf to help me fix my Kotlin code

You will always be a nigger though.

So I want to get into android. Should I go with Java,kotlin or xamarin.

I'm Slav

That's even worse.

>look at Kotlin
>all the experts are Russian, Indian, Finnish, Ghanaian or Pakistani
>no Americans

No wonder Americans are mad

xamarin is an ide

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

compiling to bytecode isn't exactly the same thing as compiling to another script

Transcompile means source-to-source compilation, whereas Kotlin is source-to-binary, so actually your stunning lack of ignorance is what's on display.

jvm bytecode is somewhere in between binary and source, I can see why you might call that transcompilation I guess.

If you want to learn a JVM language, sure

nope, it has too much non-essential features and syntax sugar which can be confusing for a beginner. starting with java is better

but it compiles to java bytecode

>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.

no machine runs java bytecode directly

Two people trying to call each other names but failing hard

>stunning lack of ignorance

that's irrelevant. also en.wikipedia.org/wiki/Java_processor. also the Java Virtual Machine does run java bytecode directly

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.

>virtual machine
>directly

by that logic, a python inter

by that logic, a python interpreter runs python directly

>no machine runs java bytecode directly
>no machine
Java virtual machine does :^)

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?

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.

> 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.

> 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).

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.

...

>fun main(args: Array){
>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.

>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

>Hating on type inference
>Hating on variable expansion in strings

nothing wrong by any of those

>have to implement new language for google
what are you talking about?

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".

yeah it's disgusting

>nitpicking syntax
>no mention of any language features at all
better get back to your first year cs homework, kiddo

ugly syntax is enough to repel me from a language

you must really despise C++ then

>but it compiles to java bytecode
Yeah, after generating native Java code.

nope

kotlin compiles directly to bytecode.

Citation.

manning.com/books/kotlin-in-action

>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?

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

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.

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?

>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.

there is no fucking ide for this shit in playstore or there is?

I want to give a try.

Do you want something like Swift Playgrounds? Because it ain't happening.

There's this, though: try.kotlinlang.org