Sitemap

Member-only story

First steps in Dart

4 min readOct 19, 2024

--

More and more programming languages are emerging for different purposes. With so many programming languages, it is difficult to know which one to choose.

Even so, they are all very similar to each other, differing in a few minor particularities. In this story I want to explain the basics of the Dart language, for those who want to start learning it.

Press enter or click to view image in full size

Why learn Dart?

This is the first question to ask when starting a programming language. As I said before, each language has its own purpose.

I will tell you about my particular case, why I started to learn Dart, and it is because it allows you to create mobile platform applications. Although there are many options for programming mobile applications, I wanted to learn the flutter framework, which allows you to build applications for both Android and iOS.

Moreover, as we will see below, it is a language that resembles other more well-known languages. So if you have knowledge in these languages it will not be a big effort to learn Dart.

Basic Syntax

Dart syntax is quite similar to other languages like Java, JavaScript, or C#, so if you have experience with those, it will feel familiar.

void main() {
print('Hello, Dart!');
}
  • Main Function: Dart…

--

--

Jesús
Jesús

Written by Jesús

Engineer, investor, and curious mind. I use Medium as my learning diary to explore ideas, build projects, run experiments, and share what I discover.