Show Menu
Cheatography

Programming Language Concepts Cheat Sheet Cheat Sheet (DRAFT) by

Programming Languages Concepts Cheat Sheet (CSI3120)

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Progra­mming languages evaluation criteria

Readab­ility
overall simpli­city, orthog­ona­lity, data types, syntax consid­era­tions
Writab­ility
simplicity and orthog­ona­lity, expres­sivity
Reliab­ility
type checking, exception handling, aliasing, readab­ility and writab­ility
Cost
training, writing, compil­ation, execution, implem­ent­ation, reliab­ility, mainte­nance
Other criteria: portab­ility, genera­lity, well-d­efi­nedness

Why we study progra­mming languages

Increases our capacity to use different constructs
Enables us to choose languages more intell­igently
Makes learning new languages easier
Unders­tading of the signif­icance of implem­ent­ation
Overall advanc­ement of computing

Progra­mming languages categories

Imperative
variables, assign­ments and interation (C, Java, JS, Perl, ...)
Functional
comput­ations via functions (LISP, Scheme, ML, F#, ...)
Logic
rule-based (ex: Prolog)
Markup­/pr­ogr­amming hybrid
markup exteded to support progra­mming (HTML, XML, JSTL, XSLT, ...)
 

von Neumann Archit­ecture

Keep fetch-­exe­cut­e-cycle in mind