Skip to content

Instantly share code, notes, and snippets.

@HalosGhost
HalosGhost / static_typing_class.rst
Last active October 19, 2021 15:56
The skeleton / syllabus of a short IRC class on Static Typing

Static Typing

Though dynamic languages have become far more common in recent years (e.g., Python, Lua, PHP, JS, etc.), many static languages are still in-use today and learning how to work with them is invaluable (particularly for fields such as systems programming—where static languages are far more common).

When we say "dynamic typing", what people usually mean is that the programmer does not need to annotate the variable declaration with an explicit type. That is, in Python for example, you simply declare a variable that can hold any type of data. Put another way, in dynamic languages, variables do not have a type even though values might. In most static languages, we do not have this shortcut.

Keybase proof

I hereby claim:

  • I am HalosGhost on github.
  • I am halosghost (https://keybase.io/halosghost) on keybase.
  • I have a public key whose fingerprint is C19F D220 31D2 A015 372E E07F 8875 4652 1B29 5B83

To claim this, I am signing this object:

@HalosGhost
HalosGhost / .cvimrc
Last active August 29, 2015 14:10
cvim config
" general
let searchengine sp = "https://startpage.com/do/search?query=%s"
let searchengine ddg = "https://duckduckgo.com/?q=%s"
let searchengine w = "https://en.wikipedia.org/wiki/Special:Search?search=%s"
let searchengine aw = "https://wiki.archlinux.org/index.php?search=%s"
let completionengines = ["sp", "ddg", "w", "aw"]
let barposition = "bottom"
let defaultengine = "sp"
" maps