Fireship · @fireship
COBOL in 100 seconds
Uploaded April 11, 2020 · Length 2:03
Summary
COBOL explained in 100 seconds, its history, syntax, and uses in 2020.
- cobol programming language
- mainframe systems
- legacy systems
- programming jobs
- cobol syntax
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
common business oriented language or
- 0:01
COBOL is a weak verbose and flabby
- 0:03
language used by coat grinders to do
- 0:05
boring things on dinosaur mainframes it
- 0:07
was developed over 100 years ago in 1959
- 0:10
but is still in demand today in 2020
- 0:12
because it's the language used on many
- 0:14
mainframe computer systems you know
- 0:16
those things we call big iron usually
- 0:18
built by IBM to handle massive amounts
- 0:20
of throughput to handle things like
- 0:21
credit card transactions airline
- 0:23
ticketing and most recently the massive
- 0:25
spike in unemployment claims so if you
- 0:27
want to be a programmer in 2020 COBOL
- 0:29
might be your best bet it's a high-level
- 0:30
imperative language which means it's
- 0:32
very easy to learn the syntax is
- 0:34
extremely verbose by design because it's
- 0:35
self documenting and it contains over
- 0:37
600 reserved words for you to memorize
- 0:39
to take advantage of and every COBOL
- 0:41
program is structured with an
- 0:43
easy-to-follow hierarchy your program
- 0:44
contains many divisions which contain
- 0:46
many sections which contain many
- 0:47
paragraphs which contain many sentences
- 0:49
that contain your statements which of
- 0:51
course contain many characters when you
- 0:52
start writing some COBOL code you'll
- 0:54
notice these vertical lines in your IDE
- 0:55
the first six characters are your line
- 0:57
numbers start at zero zero zero one
- 0:59
hundred and increment by 100 for each
- 1:01
line column seven is where you identify
- 1:02
comments or the continuation of a
- 1:04
previous line if we're identifying a new
- 1:06
division section or paragraph we can use
- 1:08
columns 8 through 11 and notice how
- 1:10
every line ends with a period that's
- 1:12
what's known as readable code now
- 1:13
columns 12 through 72 are where you
- 1:15
write your actual statements the reason
- 1:17
you don't go beyond 72 columns is
- 1:19
because your code needs to fit onto a
- 1:20
physical punch card and it ensures your
- 1:22
program is responsive on mobile devices
- 1:24
we can define our variables in the data
- 1:26
division first we name the variable then
- 1:28
we define its data type with the picture
- 1:29
keyword then assign a value to it we can
- 1:31
then work with this data in the
- 1:33
procedure division we display the
- 1:34
variable then tell our program to stop
- 1:36
from there we can pile our program to a
- 1:37
binary run it and everything should work
- 1:39
perfectly and now you're qualified for a
- 1:41
six-figure salary maintaining the
- 1:43
world's most critical legacy systems
- 1:44
this has been COBOL in 100 seconds hit
- 1:47
the like button if you want to see more
- 1:48
short videos like this thanks for
- 1:50
watching and I will see you in the next
- 1:51
one oh hey there thanks for sticking
- 1:54
around this is the part of the video
- 1:55
where we go beyond 100 seconds to
- 1:57
learned some more advanced features of
- 1:58
COBOL


