Please enable JavaScript.
Coggle requires JavaScript to display documents.
ADPROC (Expressions (Expressions have a side effect if the return a value…
ADPROC
Expressions
-
-
-
-
-
-
Expressions have a side effect if the return a value AND modifies a variable or trigger something else
-
-
-
-
Widening
A widening conversion is one in which an object is converted to a type that allows any possible value of the original data (i.e., converting to a type takes a larger memory space)
-
-
Narrowing
-
It is usually done explicitly as a request from the programmers who feels such conversion is necessary.
-
-
Data types
-
Compound types
-
-
-
structs
-
similar to classes, without constructors
-
-
-
Syntax
Context Free grammar
-
Backus-Naur Form (BNF)
in BNF , non-terminal symbols are given descriptive names within <>
-
-
-
-
Names, Bindings and scopes :
-
Binding
-
-
-
-
Type Binding
Static
-
If all binding are static, errors can be picked up this is strongly typed
If declarations always carry type info, binding can happen in compile type
-
-