2024-02-04T05:40:34.416Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
79a9bf21-2198-4c4d-a1c2-423729b00388
d2fcff87c9d222cdda8e065c9821478e1661f130e341c864588d1e9e233b13ab
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Kotlin, a statically typed multi paradigm language designed quite simply as a better alternative to Java.
Like Java, it compiles to bytecode that runs on the Java virtual machine, but Kotlin provides a more concise syntax and language features loved by modern developers, like type inference, functional patterns, null safety and more.
It was announced in 2011 by JetBrains, with the first stable release coming in 2016.
It's named after Kotlin island in Russia, and it just got a mascot in October 2021, but it still doesn't have a name yet.
One of its key features is that it can interop with existing Java code, which means developers can gradually adopt it without throwing all of their code in the garbage.
In addition to JVM, Kotlin can also compile to native code and JavaScript, opening the door to multiplatform apps.
It's been most influential in the Android development community.
And as of 2019, Google named the preferred language for Android development over Java.
One of its killer features is coroutines, which provides a simplified way to write asynchronous non blocking code, a common requirement for mobile developers.
To get started, create a file ending in dot kt.
Most Kotlin developers use something like IntelliJ IDEA, which is an IDE brought to you by the same company that invented the language.
Inside the file, use the fun keyword to define a main function.
This is where your code will start executing and that syntax is a lot more fun to write than public static void main string args.
Declare a variable with the bar keyword, assign a value and its type will be inferred automatically or you can add a colon after the variable name with an explicit type.
A variable can't be null unless you explicitly allow it with a question mark on the type.
Now use print line to log the variable to the standard output.
Notice how semicolons are optional, which means that line breaks are significant.
Kotlin supports familiar object oriented patterns, but can do special functional things that Java cannot, like modify the behavior of a class without inheritance using extension functions.
Functions are first class objects, which means they can be stored as variables, passed as arguments, or used anonymously with Lambdas.
Kotlin also reduces boilerplate with things like data classes, so you don't have to write constructors, getters, and setters, and supports structuring when accessing the values on an object, allowing you to write concise efficient code that you can then compile to a jar file by pulling up the terminal and running the Kotlin compiler.
This has been Kotlin in 100 seconds.
Hit the like button and subscribe if you wanna see more short videos like this.
Thanks for watching and I will see you in the next one.

Speaker 0: Kotlin, a statically typed multi paradigm language designed quite simply as a better alternative to Java. Like Java, it compiles to bytecode that runs on the Java virtual machine, but Kotlin provides a more concise syntax and language features loved by modern developers, like type inference, functional patterns, null safety and more. It was announced in 2011 by JetBrains, with the first stable release coming in 2016. It's named after Kotlin island in Russia, and it just got a mascot in October 2021, but it still doesn't have a name yet. One of its key features is that it can interop with existing Java code, which means developers can gradually adopt it without throwing all of their code in the garbage.

In addition to JVM, Kotlin can also compile to native code and JavaScript, opening the door to multiplatform apps. It's been most influential in the Android development community. And as of 2019, Google named the preferred language for Android development over Java. One of its killer features is coroutines, which provides a simplified way to write asynchronous non blocking code, a common requirement for mobile developers. To get started, create a file ending in dot kt.

Most Kotlin developers use something like IntelliJ IDEA, which is an IDE brought to you by the same company that invented the language. Inside the file, use the fun keyword to define a main function. This is where your code will start executing and that syntax is a lot more fun to write than public static void main string args. Declare a variable with the bar keyword, assign a value and its type will be inferred automatically or you can add a colon after the variable name with an explicit type. A variable can't be null unless you explicitly allow it with a question mark on the type.

Now use print line to log the variable to the standard output. Notice how semicolons are optional, which means that line breaks are significant. Kotlin supports familiar object oriented patterns, but can do special functional things that Java cannot, like modify the behavior of a class without inheritance using extension functions. Functions are first class objects, which means they can be stored as variables, passed as arguments, or used anonymously with Lambdas. Kotlin also reduces boilerplate with things like data classes, so you don't have to write constructors, getters, and setters, and supports structuring when accessing the values on an object, allowing you to write concise efficient code that you can then compile to a jar file by pulling up the terminal and running the Kotlin compiler.

This has been Kotlin in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. Thanks for watching and I will see you in the next one.
Kotlin, a statically typed multi paradigm language designed quite simply as a better alternative to Java. Like Java, it compiles to bytecode that runs on the Java virtual machine, but Kotlin provides a more concise syntax and language features loved by modern developers, like type inference, functional patterns, null safety and more. It was announced in 2011 by JetBrains, with the first stable release coming in 2016. It's named after Kotlin island in Russia, and it just got a mascot in October 2021, but it still doesn't have a name yet. One of its key features is that it can interop with existing Java code, which means developers can gradually adopt it without throwing all of their code in the garbage. In addition to JVM, Kotlin can also compile to native code and JavaScript, opening the door to multiplatform apps. It's been most influential in the Android development community.
And as of 2019, Google named the preferred language for Android development over Java. One of its killer features is coroutines, which provides a simplified way to write asynchronous non blocking code, a common requirement for mobile developers. To get started, create a file ending in dot kt. Most Kotlin developers use something like IntelliJ IDEA, which is an IDE brought to you by the same company that invented the language. Inside the file, use the fun keyword to define a main function. This is where your code will start executing and that syntax is a lot more fun to write than public static void main string args.
languages
programming
Declare a variable with the bar keyword, assign a value and its type will be inferred automatically or you can add a colon after the variable name with an explicit type. A variable can't be null unless you explicitly allow it with a question mark on the type. Now use print line to log the variable to the standard output. Notice how semicolons are optional, which means that line breaks are significant. Kotlin supports familiar object oriented patterns, but can do special functional things that Java cannot, like modify the behavior of a class without inheritance using extension functions. Functions are first class objects, which means they can be stored as variables, passed as arguments, or used anonymously with Lambdas. Kotlin also reduces boilerplate with things like data classes, so you don't have to write constructors, getters, and setters, and supports structuring when accessing the values on an object, allowing you to write concise efficient code that you can then compile to a jar file by pulling up the terminal and running the Kotlin compiler.
This has been Kotlin in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. Thanks for watching and I will see you in the next one.
youtube
Kotlin, a statically typed multi paradigm language designed quite simply as a better alternative to Java. Like Java, it compiles to bytecode that runs on the Java virtual machine, but Kotlin provides a more concise syntax and language features loved by modern developers, like type inference, functional patterns, null safety and more. It was announced in 2011 by JetBrains, with the first stable release coming in 2016. It's named after Kotlin island in Russia, and it just got a mascot in October 2021, but it still doesn't have a name yet. One of its key features is that it can interop with existing Java code, which means developers can gradually adopt it without throwing all of their code in the garbage. In addition to JVM, Kotlin can also compile to native code and JavaScript, opening the door to multiplatform apps. It's been most influential in the Android development community. And as of 2019, Google named the preferred language for Android development over Java. One of its killer features is coroutines, which provides a simplified way to write asynchronous non blocking code, a common requirement for mobile developers. To get started, create a file ending in dot kt. Most Kotlin developers use something like IntelliJ IDEA, which is an IDE brought to you by the same company that invented the language. Inside the file, use the fun keyword to define a main function. This is where your code will start executing and that syntax is a lot more fun to write than public static void main string args. Declare a variable with the bar keyword, assign a value and its type will be inferred automatically or you can add a colon after the variable name with an explicit type. A variable can't be null unless you explicitly allow it with a question mark on the type. Now use print line to log the variable to the standard output. Notice how semicolons are optional, which means that line breaks are significant. Kotlin supports familiar object oriented patterns, but can do special functional things that Java cannot, like modify the behavior of a class without inheritance using extension functions. Functions are first class objects, which means they can be stored as variables, passed as arguments, or used anonymously with Lambdas. Kotlin also reduces boilerplate with things like data classes, so you don't have to write constructors, getters, and setters, and supports structuring when accessing the values on an object, allowing you to write concise efficient code that you can then compile to a jar file by pulling up the terminal and running the Kotlin compiler. This has been Kotlin in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. Thanks for watching and I will see you in the next one.
Kotlin,
kotlin
a
a
statically
statically
typed
typed
multi
multi
paradigm
paradigm
language
language
designed
designed
quite
quite
simply
simply
as
as
a
a
better
better
alternative
alternative
to
to
Java.
java
Like
like
Java,
java
it
it
compiles
compiles
to
to
bytecode
bytecode
that
that
runs
runs
on
on
the
the
Java
java
virtual
virtual
machine,
machine
but
but
Kotlin
kotlin
provides
provides
a
a
more
more
concise
concise
syntax
syntax
and
and
language
language
features
features
loved
loved
by
by
modern
modern
developers,
developers
like
like
type
type
inference,
inference
functional
functional
patterns,
patterns
null
null
safety
safety
and
and
more.
more
It
it
was
was
announced
announced
in
in
2011
2011
by
by
JetBrains,
jetbrains
with
with
the
the
first
first
stable
stable
release
release
coming
coming
in
in
2016.
2016
It's
it's
named
named
after
after
Kotlin
kotlin
island
island
in
in
Russia,
russia
and
and
it
it
just
just
got
got
a
a
mascot
mascot
in
in
October
october
2021,
2021
but
but
it
it
still
still
doesn't
doesn't
have
have
a
a
name
name
yet.
yet
One
one
of
of
its
its
key
key
features
features
is
is
that
that
it
it
can
can
interop
interop
with
with
existing
existing
Java
java
code,
code
which
which
means
means
developers
developers
can
can
gradually
gradually
adopt
adopt
it
it
without
without
throwing
throwing
all
all
of
of
their
their
code
code
in
in
the
the
garbage.
garbage
In
in
addition
addition
to
to
JVM,
jvm
Kotlin
kotlin
can
can
also
also
compile
compile
to
to
native
native
code
code
and
and
JavaScript,
javascript
opening
opening
the
the
door
door
to
to
multiplatform
multiplatform
apps.
apps
It's
it's
been
been
most
most
influential
influential
in
in
the
the
Android
android
development
development
community.
community
And
and
as
as
of
of
2019,
2019
Google
google
named
named
the
the
preferred
preferred
language
language
for
for
Android
android
development
development
over
over
Java.
java
One
one
of
of
its
its
killer
killer
features
features
is
is
coroutines,
coroutines
which
which
provides
provides
a
a
simplified
simplified
way
way
to
to
write
write
asynchronous
asynchronous
non
non
blocking
blocking
code,
code
a
a
common
common
requirement
requirement
for
for
mobile
mobile
developers.
developers
To
to
get
get
started,
started
create
create
a
a
file
file
ending
ending
in
in
dot
dot
kt.
kt
Most
most
Kotlin
kotlin
developers
developers
use
use
something
something
like
like
IntelliJ
intellij
IDEA,
idea
which
which
is
is
an
an
IDE
ide
brought
brought
to
to
you
you
by
by
the
the
same
same
company
company
that
that
invented
invented
the
the
language.
language
Inside
inside
the
the
file,
file
use
use
the
the
fun
fun
keyword
keyword
to
to
define
define
a
a
main
main
function.
function
This
this
is
is
where
where
your
your
code
code
will
will
start
start
executing
executing
and
and
that
that
syntax
syntax
is
is
a
a
lot
lot
more
more
fun
fun
to
to
write
write
than
than
public
public
static
static
void
void
main
main
string
string
args.
args
Declare
declare
a
a
variable
variable
with
with
the
the
bar
bar
keyword,
keyword
assign
assign
a
a
value
value
and
and
its
its
type
type
will
will
be
be
inferred
inferred
automatically
automatically
or
or
you
you
can
can
add
add
a
a
colon
colon
after
after
the
the
variable
variable
name
name
with
with
an
an
explicit
explicit
type.
type
A
a
variable
variable
can't
can't
be
be
null
null
unless
unless
you
you
explicitly
explicitly
allow
allow
it
it
with
with
a
a
question
question
mark
mark
on
on
the
the
type.
type
Now
now
use
use
print
print
line
line
to
to
log
log
the
the
variable
variable
to
to
the
the
standard
standard
output.
output
Notice
notice
how
how
semicolons
semicolons
are
are
optional,
optional
which
which
means
means
that
that
line
line
breaks
breaks
are
are
significant.
significant
Kotlin
kotlin
supports
supports
familiar
familiar
object
object
oriented
oriented
patterns,
patterns
but
but
can
can
do
do
special
special
functional
functional
things
things
that
that
Java
java
cannot,
cannot
like
like
modify
modify
the
the
behavior
behavior
of
of
a
a
class
class
without
without
inheritance
inheritance
using
using
extension
extension
functions.
functions
Functions
functions
are
are
first
first
class
class
objects,
objects
which
which
means
means
they
they
can
can
be
be
stored
stored
as
as
variables,
variables
passed
passed
as
as
arguments,
arguments
or
or
used
used
anonymously
anonymously
with
with
Lambdas.
lambdas
Kotlin
kotlin
also
also
reduces
reduces
boilerplate
boilerplate
with
with
things
things
like
like
data
data
classes,
classes
so
so
you
you
don't
don't
have
have
to
to
write
write
constructors,
constructors
getters,
getters
and
and
setters,
setters
and
and
supports
supports
structuring
structuring
when
when
accessing
accessing
the
the
values
values
on
on
an
an
object,
object
allowing
allowing
you
you
to
to
write
write
concise
concise
efficient
efficient
code
code
that
that
you
you
can
can
then
then
compile
compile
to
to
a
a
jar
jar
file
file
by
by
pulling
pulling
up
up
the
the
terminal
terminal
and
and
running
running
the
the
Kotlin
kotlin
compiler.
compiler
This
this
has
has
been
been
Kotlin
kotlin
in
in
100
100
seconds.
seconds
Hit
hit
the
the
like
like
button
button
and
and
subscribe
subscribe
if
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this.
this
Thanks
thanks
for
for
watching
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The speaker discusses the benefits of using Kotlin, a statically typed language designed as a better alternative to Java, and its use in Android development. The language supports various types of programming, including Type inference, functional patterns, and null safety. It is also a common requirement for mobile developers to adopt the language and is a popular choice for developers. The language is also capable of creating variables, arguments, and parameters, and is used in a number of different ways.
Kotlin in 100 Seconds
Kotlin is a programming language designed as a modern alternative to Java. It supports functional patterns, coroutines, multi-platform compilation, and is now the recommended language for Android mobile development. 

#programming #android #100SecondsOfCode

🔗 Resources

Kotlin Docs https://kotlinlang.org/
Kotlin on Android https://developer.android.com/kotlin
Watch Java in 100 Seconds https://youtu.be/l9AzO1FMgM8

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- Kotlin vs Java
- Kotlin basic syntax
- Using kotlin on Android
- Kotlin coroutines overview
- What is kotlin?
- Is kotlin a JVM language?