Illustration by Jesse Zhang

Social media has become second nature – but what impact is this having on our brain?

Researchers at the UCLA brain mapping center showed 148 photographs on a computer screen for 12 minutes, including 40 photos that each teenager submitted, used an fMRI (functional magnetic resonance imaging) scanner to image the brains of the 32 teenager, they split them…


Conditionals are programming language commands for handling decisions. Specifically, conditionals perform different computations or actions depending on whether a programmer-defined boolean condition evaluates to true or false. Conditions must be expressed in such way that its result can only be true or false, like formulating a Yes or No question. This can be done using comparison operators, like equals (=), greater than (>), less than (<)..

If the specified condition returns true as a result, then the program would execute some group of instructions, but in the opposite case, when it returns false the program would execute another instruction.


A loop is a programming structure that repeats a series of instructions until a condition being met, loops can be very useful and can save you lots of time.


Variables are used to store one or more values on a computer program.

Imagine you have a box that stores 6 pieces of apple, but they are in different color, so you decide to group similar items together, and store them in boxes. This would allow you better access to each item (apple).

Now, you have three boxes, one with Red apples, one with Green apples, and another one with Yellow apples. You have to sort the right type of box to get the required item.

And finally, give a unique name to each box to make each one easer to identify.

This is how variables are working with data and here is an example :

var redApples = 2;

Thank you.


In this lesson, we will discuss the operators that are available in Dart.

First, to work with an operator, you often have to have two operands between an operator, operands are representing data.

Here is an example of how the operands will be processed to produce a value:

10 + 10

Types of Operators :

  • Arithmetic Operators
  • Equality and Relational Operators
  • Type Test Operators
  • Assignment Operators
  • Logical Operators
  • Bitwise and Shift Operators

Arithmetic operators :

‘ — ’ (subtraction),

‘ * ’ (multiplication),

‘ / ’ (division),

and ‘ % ’ (modulus division).

Operators are often used to form a numeric expression such…


Data types in Dart

The data type of a variable is referred to what kind of information that variable or item can have.

Data types can be found all around us, numbers, characters that are labeled based on the properties they share.

I will show you in this lesson the fourth main data types;

  • Integer : stores numeric values without a decimal point, for example, the value “123”.
  • Double : also stores numeric values but with the decimal point, for example, “12,3”.
  • String : represent an array of characters like name, address..
  • Boolean : a data type that stores only…


DART IS A PURE OBJECT-ORIENTED PROGRAMMING LANGUAGE, WITH EVERY VALUE BEING AN OBJECT.

WAS RELEASED ON NOV 14TH, 2013 BY GOOGLE.

WE CAN NOT TALK ABOUT DART WITHOUT MENTION FLUTTER,

FLUTTER IS GOOGLE’S HYBRID MOBILE APPLICATION DEVELOPMENT FRAMEWORK, PROVIDES TOOLING AND UI LIBRARIES TO BUILD BEAUTIFUL UI EXPERIENCE THAT RUN ON IOS, ANDROID AND THE WEB.

Abdelhadi Elouarguli

Photographer | story teller | CS student

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store