C++ data types
c++ is statically typed
lvalue − Expressions that refer to a memory location is called "lvalue" expression.
rvalue − The term rvalue refers to a data value that is stored at some address in memory.
Storage Classes in C++
dart data types
lists are equivalent of arrays(ordered lists)
Maps represent a collection of objects, Map data type represents a set of values as key-value pairs.
Dart is an optionally typed language. If the type of a variable is not explicitly specified, the variable’s type is dynamic. The dynamic keyword can also be used as a type annotation explicitly.
-All uninitialized variables have an initial value of null. This is because Dart considers all values as objects.
-Variables declared without a static type are implicitly declared as dynamic. Variables can be also declared using the dynamic keyword in place of the var keyword.
-The final and const keyword are used to declare constants, These keywords can be used together with the variable’s data type or instead of the var keyword.
-The const keyword is a compile time const.
Dart for in loop
Dart vs C++ Cheat Sheet (DRAFT) by nimakarimian
a comparison between c++ and dart syntax