"In our industry, every
technology generates what I call
a “galaxy.” These galaxies feature
stars but also black holes; …
Slide 7
Slide 7 text
…meteoric changes that fade in
the night, many planets, only a
tiny fraction of which harbour
some kind of life, and lots of
cosmic dust and dark matter."
AsciiDoc, Markdown ➡
Pandoc ➡
PDF, Word, LibreOffice…
Slide 60
Slide 60 text
2. VBScript.
aka Apocalypsia.
Slide 61
Slide 61 text
On Error Resume Next
Err.Raise 6
MsgBox CStr(Err.Number) & " " & Err.Description
Err.Clear
Slide 62
Slide 62 text
No content
Slide 63
Slide 63 text
No content
Slide 64
Slide 64 text
No content
Slide 65
Slide 65 text
No content
Slide 66
Slide 66 text
No content
Slide 67
Slide 67 text
No content
Slide 68
Slide 68 text
No content
Slide 69
Slide 69 text
No content
Slide 70
Slide 70 text
"In earlier version of Visual
Basic, functions without a
"Return" statement just "Return
None", without any kind of
compiler warning (or error)…
Slide 71
Slide 71 text
Function Sum(value1, value2)
Dim result
result = value1 + value2
Sum = result
End Function
Slide 72
Slide 72 text
No content
Slide 73
Slide 73 text
"Oh man this sucked."
Slide 74
Slide 74 text
Class Customer
Private m_CustomerName
Private Sub Class_Initialize
m_CustomerName = ""
End Sub
' CustomerName property.
Public Property Get CustomerName
CustomerName = m_CustomerName
End Property
Public Property Let CustomerName(newValue)
m_CustomerName = newValue
End Property
End Class
Dim cust
Set cust = New Customer
cust.CustomerName = "Fabrikam, Inc."
Dim s
s = cust.CustomerName
MsgBox (s)
Slide 75
Slide 75 text
"the ASP server is multithreaded
and assigns a different thread to
each page request (…). VBScript
class instances (…) must run on
the thread that created them."
Slide 76
Slide 76 text
"There is no notion of
polymorphism or inheritance in
VBScript 5.0 (…)"
Slide 77
Slide 77 text
"(…) VBScript classes are merely a
way to group data and the
operations on the data together
to improve encapsulation."
Slide 78
Slide 78 text
"The four magic constants of the
apocalypse: Nothing, Null,
Empty, and Error."
Slide 79
Slide 79 text
Option Explicit
Dim MyVar
MyVar = 10
' ... and your code explodes (because not declared)!
MyInt = 10
"(…) choose your galaxy wisely,
(…) keep your telescope pointed
towards the other galaxies, and
prepare to make a hyperjump to
other places if needed."