COBOL in 100 seconds

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 1,7 тыс.

  • @mihallex
    @mihallex 4 года назад +10226

    "the reason you don't go beyond 72 is because it ensures your program is responsive on mobile devices " LOL

    • @jakewalklate6226
      @jakewalklate6226 4 года назад +329

      I was so confused when I heard that hahahah

    • @bluehugh2
      @bluehugh2 4 года назад +405

      I lost it when he delivered this line so casually

    • @youri0soul
      @youri0soul 4 года назад +136

      I actually repeated that frame twice to check :D

    • @abhilashpatel3036
      @abhilashpatel3036 4 года назад +136

      Yeah 1956 had a big vision like that. Apple just stole it.

    • @derDooFi
      @derDooFi 4 года назад +57

      probably because it makes no sense whatsoever. having hardcoded line breaks is about the least responsive thing you can do.

  • @NeroG4ming
    @NeroG4ming Год назад +792

    I am 30 years old and COBOL was the first Programming language I learnt in my company. I was a COBOL Programmer for nearly 10 years. Leaving that company and learning real programming languages was like a caveman entering a city in the 20th century

    • @GizmoMaltese
      @GizmoMaltese Год назад +23

      That's crazy. Did you work for an investment bank? I'm guessing you got a job straight out of college. I used to work at Bear Sterns with a bunch of COBOL programmers.

    • @raydunn2582
      @raydunn2582 Год назад +54

      Having worked in every mainframe language from ASSEMBLER to CSP, I can assure you that COBOL is almost the worst language ever written.

    • @MavikBow
      @MavikBow Год назад

      ​@@raydunn2582what are worst ones in your opinion?

    • @raydunn2582
      @raydunn2582 Год назад +8

      NATURAL@@MavikBow

    • @bobanmilisavljevic7857
      @bobanmilisavljevic7857 10 месяцев назад

      ​@@raydunn2582I'm starting to learn COBOL today and it's Grace Hoppers birthday 🦾🥳

  • @parzh
    @parzh 4 года назад +3639

    The syntax error at the end of this tutorial is just golden

    • @AndrewDeFaria
      @AndrewDeFaria 4 года назад +37

      The dude tried to run the source code! What an idiot!

    • @unknownguywholovespizza
      @unknownguywholovespizza 2 года назад +43

      @@AndrewDeFaria at least, he put a lot of effort to make this video

    • @zulqarnain0795
      @zulqarnain0795 2 года назад +10

      😂😂😂 I love that ahahaha

    • @AlvinYap510
      @AlvinYap510 2 года назад +30

      @@AndrewDeFaria it's just humor. Learn to appreciate some fun and get some life dude

    • @darklajid
      @darklajid 2 года назад +19

      Executing the .cbl source file :-p

  • @Sean-ri5np
    @Sean-ri5np 4 года назад +3890

    "It was developed over one hundred years ago in 1959"

    • @dorobokino
      @dorobokino 3 года назад +339

      I didn't even give that statement a second thought

    • @ostrava_
      @ostrava_ 2 года назад +54

      stop you've violated the law!

    • @jangamecuber
      @jangamecuber 2 года назад +6

      heh

    • @Sean-ri5np
      @Sean-ri5np 2 года назад +3

      @@jangamecuber heh

    • @censura1210
      @censura1210 2 года назад +4

      @@Sean-ri5np heh back

  • @tambolaking5383
    @tambolaking5383 4 года назад +6377

    You literally learnt COBOL to teach COBOL to people who would never learn COBOL. Productive!

    • @TheNewton
      @TheNewton 4 года назад +29

      Vrunda ONE well this vid and the news has got me considering it but first I've got to find evidence of remotework/consulting opportunities where I dictate terms and pay.

    • @netforce01
      @netforce01 3 года назад +6

      Looks like inception movie pattern bro 😅

    • @katech6020
      @katech6020 3 года назад +52

      He didn't, just look how he got a syntax error when compiling the code

    • @bewolfzr9969
      @bewolfzr9969 2 года назад +56

      @@katech6020 it was intended it's sarcasm ! It forecasts the life cycle of a cobol programmer
      My OOP teacher once said to us in class i won't accept a cobol job even if they pay me $50K/month

    • @davidpatt3080
      @davidpatt3080 2 года назад +76

      I have been a COBOL dev for nearly 30 years and I will be in demand until I retire. That is job security.

  • @TheHoratii
    @TheHoratii 4 года назад +4254

    "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense." - Edsger Dijkstra

    • @theophilussparks5839
      @theophilussparks5839 4 года назад +76

      Dijkstra was a proponent of Algol and those kinds of languages.

    • @steves9250
      @steves9250 4 года назад +247

      COBOL by definition was never intended to be a good computer science language. It was business oriented. Easy to write and maintain (for the times) by programmers coming from a business background.

    • @markgreen2170
      @markgreen2170 4 года назад +70

      I attended UT Austin in the 90s. Dr Dijkstra came as a guest and gave a lecture to one of the classes I was in, it was very cool to meet a legend!

    • @0xCAFEF00D
      @0xCAFEF00D 4 года назад +26

      @@theophilussparks5839 And later opposed Java and python. For good reason. Exactly what he said would happen happened.

    • @0xCAFEF00D
      @0xCAFEF00D 4 года назад +61

      @Butt Cube C doesn't cripple the mind. I don't see how you can say that. C++ is clearly the leading cause of involuntary commitment among programmers though.

  • @crappycoder
    @crappycoder 4 года назад +2713

    The ending killed me seeing those errors and then hailing that you can get humongous salaries due to this. 2am happenings.

    • @ikezedev
      @ikezedev 4 года назад +11

      I'm still dead....😂

    • @ruslanuchan8880
      @ruslanuchan8880 4 года назад +79

      "Everything should work perfectly." lmao

    • @swaggcam412
      @swaggcam412 4 года назад +42

      Lol probably foreshadowing the real work cycle of a COBOL dev

    • @cfuentess2010
      @cfuentess2010 4 года назад +52

      he ran the source code lmao

    • @AvinashSewpersadh
      @AvinashSewpersadh 4 года назад +9

      I thought i was too stoned the first time...went back and replayed it to make sure..Ripped!!! :D :D

  • @DaVince21
    @DaVince21 4 года назад +775

    This programming language isn't just _for_ businesses, it _is_ a business. It has divisions and everything.

    • @mrmimeisfunny
      @mrmimeisfunny 2 года назад +27

      And a strict hierarchy (of variables)

    • @stephenlee5929
      @stephenlee5929 Год назад +9

      @@mrmimeisfunny Very few priests.

  • @de1ri7
    @de1ri7 4 года назад +1724

    0:08
    Damn, I can't believe it's already 2059!

    • @reach9318
      @reach9318 4 года назад +53

      He is from the future 😆

    • @Fireship
      @Fireship  4 года назад +716

      Just making sure this video stays relevant in the future ;)

    • @pppluronwrj
      @pppluronwrj 4 года назад +118

      like cobol, this video is future proof

    • @jamesmiller2521
      @jamesmiller2521 4 года назад +12

      I think very few companies / governments will switch from Cobol to something by 2059

    • @antoniodosreisfeitosaneto7553
      @antoniodosreisfeitosaneto7553 4 года назад +8

      May be just rounding errors due to the millennium bug... This video is a toy

  • @Paul_Wetor
    @Paul_Wetor 2 года назад +373

    I made a living at it for forty years. The last place I worked is in their fifteenth year of a five-year plan to get off the mainframe. It's hard to justify spending tons of money to replace software with new software to do the exact same thing.
    P.S. Columns 73-80 were intended for the program name on punched cards, 1 - 6 for sequence numbers, in case you dropped the deck. But after source code software came along, that wasn't needed.
    P.P.S. COBOL was designed for basic business record-keeping done with batch processing (jobs that usually ran overnight). It was later adapted to handle online processing. Much of the business world still uses mainframes to do the work. Your bank probably has a modern looking front-end to display on your phone or browser, but it is still based on mainframe processes behind the scenes.

    • @XiangWeiHuang
      @XiangWeiHuang 2 года назад +43

      fifteenth year of a five-year plan... lmao i know that feel

    • @blackmuskveetandoor2487
      @blackmuskveetandoor2487 Год назад +6

      Man you must be an human encyclopedia(in computers) then 😂

    • @vanceblosser2155
      @vanceblosser2155 Год назад +45

      I was in Industrial Engineering in my 20s in 1981. I bought an Apple II with my tax refund - no disk drive or printer, not enough cash. I had previously put an incentive payroll system on a 4 bit processor equipped Monroe desktop machine with 4K of ram all in machine code. So learning the Apple was easy. I automated some of the office tasks that took tons of work just to see if I could, brought it in to the office to show them. A few people from the IT dept. came by and checked it out. A couple weeks later they offered me a job in IT coding Cobol. I told them I didn't know it, they said no problem we will train you. I watched 21 Deltak courses on video in 19 days with workbooks (with graded tests, you couldn't go to the next one if you didn't pass the test). Then I was given a small program to code and after a few fumbles it worked. They insisted on structured programming.
      I became proficient in Cobol and received raises, in 3 years I doubled my salary from Industrial Engineering. Sadly, after 177 years of business the company folded and I had to change jobs. Learned to code online Cobol programs under CICS, wrote over 100 programs as part of an order/inventory/shipping system. PCs were still my first love and as they grew in number set up our first small network then later a company wide intranet with 150 attached PCs and was promoted to Network Administrator and set up systems to transfer data from the network to the mainframe and vice versa, later changing this to network to Unix system running Oracle. Retired from this position.
      Cobol was never my favorite, but it provided shelter and food for my family and was usually relatively easy to debug if it crashed. Early on I was the "on call" person for night time batch jobs so I'd get a call at 3 am to fix a crash, usually for a program I didn't write. But the structured code helped enormously and it usually didn't take too long to get it fixed so I could return home.
      One side story - when I was on night call, I got a call for a system that I wasn't responsible for and I questioned this. I was told that the person responsible was there but needed help and it was related to a system in my domain. So I went in, and the reason help was needed was because the other guy (who was near retirement age) had been in a bar with his wife until 2 am and was very drunk. He managed some non-IBM machines that interfaced to the mainframe and then the programs I was over processed the data. There had been a change in those machines and some bad (non numeric) data came in and crashed the Cobol program. I told him the field in question and he immediately knew how to fix it. So he goes to the keyboard linking to his machines and sits there a minute and then asks me if I can put his hands on the keyboard because he couldn't do it. I did so but was sure this wasn't going to work - if you can't find the keyboard how can you possibly change and compile a program? Sonavabitch - he did it! Clean compile first time, good data coming through. I offered to drive him home but he declined. I was really worried that he would wreck but he was at work the next day, vehicle intact.

    • @blasttrash
      @blasttrash Год назад +2

      how do modern backend languages like say java, c#, node, python etc interact with mainframe? Say I go to my bank website and the frontend makes an api call to their backend java microservice to fetch my account balance. But from there how does this java microservice call/fetch/execute mainframe/cobol code and get my account balance to be displayed on frontend?

    • @albtraummew706
      @albtraummew706 Год назад +2

      @@blasttrash there are tools like cics or ims that are an interface for the backend to interact with the mainframe. Nowadays things like java and c run on the mainframes but for things like db2 programming cobol and interfaces are used. So in your example the frontend would send the request for your bank status to the backend which in turn use the interface with cics and / or ims to get your bank balance.

  • @Fireship
    @Fireship  4 года назад +137

    🚨 There are ZERO jokes in this video. Preorder my COBOL enterprise course today fireship.io/cobol

    • @besjansejrani1880
      @besjansejrani1880 4 года назад +16

      i'm waiting for a paid tutoriel Jeff

    • @ВладДудко
      @ВладДудко 4 года назад +6

      If it's so serius, I would like to see more videos about COBOL from you. BTW your videos are awesome.

    • @stephen9849
      @stephen9849 4 года назад +5

      My grandma was working with COBOL....
      I thought it's a dead language

    • @Fireship
      @Fireship  4 года назад +14

      @@besjansejrani1880 Good idea, just started working on a COBOL for enterprise course

    • @brhh
      @brhh 3 года назад

      @@Fireship I would assume you've finished the first lesson in the course

  • @armchairtin-kicker503
    @armchairtin-kicker503 2 года назад +200

    Having been educated in my college's computer science department, I held my nose and took a course on COBOL from the business department. That decision lead to recruitment as an intern programmer writing IMS COBOL and three months later as a full-time programmer. A few years later, I learned MVS macro-assembler language, spending a few years as a technical support analyst, eventually spending a nearly 30-years as a system software developer. Oh yes, I took that intern job writing COBOL in the summer of 1977.
    Finally, computer languages have their strengths and weaknesses and COBOL's strength is report formatting.

  • @GirishKumar-gi7ky
    @GirishKumar-gi7ky 4 года назад +1921

    "Program is RESPONSIVE on mobile devices", absolutely gold man XD

    • @_nom_
      @_nom_ 4 года назад +18

      They had mobile devices back then, it just meant it took up less space.

    • @mintaddict1
      @mintaddict1 4 года назад +4

      Yeah, back in the day they were called crack berries and the like. 🤷‍♀️ Um, blackberry...

    • @jaikumar848
      @jaikumar848 4 года назад +4

      I didn't understand this. ...could you please clear meaning of this?

    • @mintaddict1
      @mintaddict1 4 года назад +1

      jaikumar848 During the 1980's in the USA, business executives stayed in touch with each other with mobile devices known as Personal Digital Assistants (PDAs for short). PDAs were marketed as a secretary in your pocket, so to speak.
      In modern times, you would use a widget suite, or Google Calendar 🗓 on your cell phone, tablet, or personal computer.

    • @n8chz
      @n8chz 2 года назад +17

      COBOL would be an ideal language for coding on a mobile device itself (as opposed to say developing your apps in something like Android Studio on a PC). Since COBOL syntax is made up of English words, it would be much easier to code using gesture typing than other languages, which use a lot of punctuation symbols, which doesn't exactly play to the strengths of the mobile "keyboard."

  • @fiskebent
    @fiskebent 2 года назад +158

    The amazing thing about COBOL is that there are no libraries to learn. So once you know the language, you know *everything*. That means that you get to code your own XML/Json parsers from scratch. In COBOL! It's awesome!

    • @tgj5680
      @tgj5680 2 года назад +16

      Yes the sentence “advanced features” followed by *crickets* had me sold, I need to know more now

    • @Kyrelel
      @Kyrelel 2 года назад +7

      COBOL has libraries :/.

    • @fiskebent
      @fiskebent 2 года назад

      @@Kyrelel There weren't any in any of the shops I worked in that used COBOL (or PL/1).

    • @Masp89
      @Masp89 Год назад +5

      You don't have to write your own parsers if you use "XML Thunder" for example. However, since cobol version 6 you have the "json parse" and "xml parse" keywords built into the language itself, making it even simpler.

  • @RageCage64
    @RageCage64 4 года назад +2551

    Why was this released not on April Fools lmao

    • @Fireship
      @Fireship  4 года назад +758

      Because this video is 100% serious!

    • @leonf.7893
      @leonf.7893 4 года назад +160

      @@Fireship Even the part about the code being mobile responsive?!

    • @oshgnacknak72
      @oshgnacknak72 4 года назад +59

      ​@@leonf.7893 That is actually a good practice. Keeping statements small makes them more understandable. If not in written COBOL that is...

    • @adam-k
      @adam-k 4 года назад +31

      Because even today about 50% of the world business and many government agencies run on COBOL. All together several hundred million lines of code. And there are very very few people who knows how to maintain or even to read that code.

    • @leonf.7893
      @leonf.7893 4 года назад +13

      @@adam-k I wonder why it's so difficult to rewrite these systems. I would have thought our improved languages and IDEs would have made it much easier.

  • @peteraustin9715
    @peteraustin9715 2 года назад +132

    I wrote COBOL programs 35 years ago, some of them are probably still running. I take great pride in telling people that I write legacy software. There's nothing wrong with it, just a bit verbose.

    • @vibovitold
      @vibovitold Год назад +5

      What do COBOL programmers do nowadays? Are they fixing bugs? Shouldn't all bugs have been caught out and fixed by now, in a codebase as old as the one you left behind? Or are there adjustments required by eg. reinstalling such code onto new, replaced hardware?

    • @ajs11201
      @ajs11201 Год назад +19

      @@vibovitold There are myriad business updates that require changes to the COBOL.

    • @xeon39688
      @xeon39688 Год назад

      Why businesses don't move into modern age

    • @rynobehnke8289
      @rynobehnke8289 Год назад +6

      @@xeon39688 Because that would requirier them to recreate everything that is currently done in COBOL in a different language which is stupidly expensive for very little gain from the companies point of view.

    • @hypnoz7871
      @hypnoz7871 Год назад

      ever heard of something called "technical debt" ?@@xeon39688

  • @SEEMERIDECOM
    @SEEMERIDECOM Год назад +400

    I had to take a year of programming in COBOL in high school. I went from getting straight A's in BASIC the year before to failing my first quarter of COBOL. I buckled down and got an A for the rest of the year. But I hated it. It was the only programming language where you would have to type in three to four pages of code to create a half page report. You compile your code and have three errors. Fix those three errors and get 97 errors on the next compile. I now have been programming professionally for 35 years and fortunately have not had to write one line of Cobol.

    • @ZemanTheMighty
      @ZemanTheMighty Год назад +34

      I’m learning COBOL currently (before you ask why it’s because I’m passionate about legacy computers) and it’s not THAT bad so far. The most frustrating things so far is the archaic way Cobol reads data off files, and the fact that if you miss a single ‘.’ ANYWHERE the whole code has an absolute meltdown.
      Also having to define every variable in a table/array manually, then defining the table/array using the DEFINES clause is a tremendous pain in the ass.

    • @PanosPitsi
      @PanosPitsi Год назад +10

      @@ZemanTheMighty syntax checks exist in all programming languages

    • @dand4485
      @dand4485 Год назад

      @@ZemanTheMighty Completely agree, i was pretty good in COBOL back i the day 40 years back. My favorite language would be C or C# now. I think on of the the biggest issue many have then never really learned COBOL and use it as best as they can. For report HIGHLY recommend learning the RD (Report Description) if memory serves me. All to often i saw many fighting with generating reports, think 80-90% of all my programs is did were reports. Those not using the RD would spend days with print spacing charts, and running, printing, debugging over and over and over. With an RD pretty much sit down learn the layout and done.... Provided you know how to use and RD. And honestly even though c/c# are my favorites, still liked teh 66,77, or 88 level variables. I did COBOL as mentioned almost 40 years back now, one evening i was at a friend's house and watching him work on what was at the time MS-DOS, ya he worked at $icroMoft as is did later on, but watching him work on a PC was like WOW, that is a hell of a lot easier and started making the move from mainframes and some work i did on a CRAY for a while to a PC. The ease of working on a PC was so much better.... Just hope the tools for COBOL are better now. I remember a friend bought Micro Focus Cobol, not ever sure if they are still around. It seems it make COBOL a bit easy, and honestly didn't like how verbose it was... But overall other then "Why does the F&$king '.' need to be a line/statement terminator... Can't have a smaller character...? Guess one reason i like C as much as i did it used a semicolon and a lot bigger then a period...

    • @charlesgantz5865
      @charlesgantz5865 Год назад +3

      As I remember, it took 2 pages of continuous feed paper, the kind all the printers used back then, to print "Hello, World".

    • @dand4485
      @dand4485 Год назад +3

      ​@@charlesgantz5865 Ya sounds right, might argue possibly 3 pages of the good old large pages (11" x 17") if i'm remembering correctly. Back in the old days it wouldn't be uncommon the previous print job left the printer in an unknown state. So the three pages were a form feed to get the printer to a known state, while when i stated in the 80's most everyone would by common best practice would do a form feed. so the first page i was suggesting may often not be needed... Than a banner page as you normally worked in a batch environment and had to identify your print job, and was nice people would deliver the print out to your desk... And often the extra blank page them may not have been needed, the operation people would remove it before you ever say it... And the rest or only the one page that was your output however billions of pages it might be... 🤡

  • @steves9250
    @steves9250 4 года назад +370

    As someone once wrote: There are two types of fool. The first says “This is old and therefore good”, and the other says “This is new and therefore better”

    • @djdjukic
      @djdjukic 4 года назад +27

      @@vlc-cosplayer might as well add headphone-jack-phobia: "this is old therefore it's bad"

    • @Ragnarok540
      @Ragnarok540 4 года назад +20

      But then there is the fool that never evolves. That's the worst one.

    • @cat-.-
      @cat-.- 2 года назад +3

      I am surrounded by people who says “this is old and therefore crap” guess I’m in a genius club

  • @hereb4theend
    @hereb4theend 4 года назад +308

    Cobol : 600 reserve words
    Me: Ait Imma head out.

    • @jeremiahglover7562
      @jeremiahglover7562 4 года назад +25

      X86 assembly has left the chat.

    • @mintaddict1
      @mintaddict1 4 года назад +5

      past me: i'll learn BASIC
      also past me: ...and HTML, and Visual Basic and JAVA
      present me: can't they just let all the swift and minecraft types loose on these problems?

    • @nadavln3797
      @nadavln3797 4 года назад +1

      @@jeremiahglover7562 tbh x86 assembly is way more readable

    • @pai64
      @pai64 4 года назад +1

      Cobol is so toxic language if you program in cobol you will always SHOUT TO PEOPLE
      (İts funny maybe there is a video just teacher shouts the reserved words)

    • @rty1955
      @rty1955 4 месяца назад

      ​​@@nadavln3797x86 assembler is BRAIN DEAD. Its MUCH easier in a mainframe.
      Wtf is a stack pointer? No need for it. Why limit to 1 register for math?
      Why is the addr bus 20 bit on a 16 bit machine?
      Why give tour register so many names? (RAX. RAHN RAL) very stupid
      Been writing mainframe assembly since 1968. X86 is a toy and very inefficient.

  • @Truttle1
    @Truttle1 4 года назад +69

    COBOL: I'm going to have verbose syntax.
    Also COBOL: I'm going to only let you have 72 characters per line.

  • @toastrecon
    @toastrecon 4 года назад +597

    Ha ha. Has to fit on a punch card? That's one way to enforce the style guide.

    • @steves9250
      @steves9250 4 года назад +26

      Even when we moved from punch cards to terminals most terminals were 80 columns by 24 rows. Oh the good old days.

    • @toastrecon
      @toastrecon 4 года назад +5

      @@steves9250 I think when I was learning FORTRAN back in the day (1997, ha), we may have had column limits. I remember having to FTP my code up and then compile and link it and then run it on the old VAX terminals. Good times.

    • @peraciodias9665
      @peraciodias9665 4 года назад +1

      kkkkk

    • @mohitshetty8767
      @mohitshetty8767 4 года назад +3

      Hello everyone,
      Actually I had a query...Can C be used on mainframe computer that are currently being actively used by majority of the buisnesses?

    • @mohitshetty8767
      @mohitshetty8767 4 года назад +2

      @@lboston4660 Hey, thanks for sparing time to reply to my comment. I'm referring to majority of the the computers currently being used...I have 0 knowledge about mainframes..Maybe if you could help me out..

  • @timlawrence7204
    @timlawrence7204 4 года назад +308

    I have been working with COBOL in some capacity for 22 years now. I know it gets shit on by the cool kids but like Jason Vorhees it just refuses to die!

    • @toddherron8778
      @toddherron8778 4 года назад +3

      Oh hey! Just got recommended this video and now I’m tempted to learn it.

    • @kolive81
      @kolive81 4 года назад +14

      todd herron this video makes you want to code in COBOL??? It makes me want to issue corrections. This guy apparently got his information from other than hands on practice. But it is fairly easy to learn. Even the simplest languages can build complex programs. Maybe not good ones, but definitely complex. One of the programs that I frequently had to maintain was over 13,000 lines of COBOL code.

    • @T1Oracle
      @T1Oracle 4 года назад +3

      You can cross compile it into Python.

    • @KK-pq6lu
      @KK-pq6lu 4 года назад +21

      COBOL was mocked just as much, if not more, even in the ‘70’s.

    • @psenvoltrop8782
      @psenvoltrop8782 2 года назад

      @@kolive81 wie 13 mein grösstes hatte über 100000 Code

  • @kingbeencent
    @kingbeencent 4 года назад +310

    Fireship: "And everything should work perfectly"
    Cobol: I don't think so.
    Hahahaha, I love these videos :3

    • @Merthalophor
      @Merthalophor 2 года назад +5

      love how the syntax error starts right with the very first token of the program (000100) 😂

    • @LtdJorge
      @LtdJorge 2 года назад +6

      @@Merthalophor it's not a syntax error, he tried to run the cobol source, not the binary, lol.

    • @acmenipponair
      @acmenipponair 2 года назад +1

      ​@@Merthalophor The same would happen, if you would run C++ code. The program wouldn't know where even to start

  • @kumarvaibhav7203
    @kumarvaibhav7203 4 года назад +871

    COBOL is just damn so simple. I wonder why there is shortage of COBOL programmers when I can be mastered in 100 sec.

    • @chawza8402
      @chawza8402 4 года назад +69

      Because we can learn 600 syntax just by learning in just 100 sec

    • @kolive81
      @kolive81 4 года назад +96

      Vaibhav Kumar because coding in COBOL is boring. I coded in COBOL for years and was frequently frustrated by the limitations of the language. However, since then COBOL has been improved upon several times. As other commenters stated, it can process XML and call java and C programs. Yes, mainframes (at least the ones running z/OS) can run POSIX compliant stuff and present a Unix prompt interface. It has probably improved in the 6 years since I retired. The big problem is grasping what the 10,000 plus lines of code are doing not the task of understanding the language. At one point, I installed a database client using X-Windows (the mainframe being the X server or client-i could never keep those straight) because the installer had been set up to run universally.

    • @deflox
      @deflox 4 года назад +103

      Because you are mostly working on legacy systems that were created maybe 30 or more years ago and most of the time it is just a mess of spaghetti code which is very frustating. Programms with nearly 20k lines of code which 1000 of edits through the years. Maintenance is a nightmare.

    • @demondogmom7221
      @demondogmom7221 4 года назад +33

      Cobol in batch isn't hard, but it's not simple. You have to understand how to make it interact with the OS. That requires JCL and Procs. If what you code in your program isnt supported in your JCL and the systems master catalog, your program will abend. If you've ever tried to figure out a SOC4, it can make you weep. Assuming the company you work for didn't cheap out, you may a tool that helps you solve abends. If not, you will have a lovely (read "impossible") time trying to figure out how to read a "dump"...assuming you can find anyone to help, you get to add and subtract in hexadecimal once you know and find the appropriate bits.

    • @tfae
      @tfae 4 года назад +51

      Cobol is simple. But many Cobol programs are very large and hard to understand, and were written before people knew how to write good code.

  • @BeastinlosersHD
    @BeastinlosersHD 4 года назад +390

    God that looks painful. I can see why that was useful back in the day though.

    • @Fireship
      @Fireship  4 года назад +117

      TBH it's not the worst thing I've ever seen, but very antiquated by modern standards.

    • @eric000
      @eric000 4 года назад +21

      i agree it's alright, i think it's too verbose. I would spend a part of my six digit salary and hire a typist and dictate cobol. the Hardest and useful thing to program is assembly imo.

    • @Set_Abominae
      @Set_Abominae 4 года назад +21

      It's not that hard actually, I've been working with cobol for the past 4 years, and it's pretty easy compared to other languages. It's not object oriented, so it's simple to implement, and works well. There are programs running without errors or intervention for decades... All the banks and financial companies in my country uses Cobol.

    • @BeastinlosersHD
      @BeastinlosersHD 4 года назад +3

      @@Set_Abominae Is the tooling around cobol pretty good? Cause that's the real game changer

    • @steves9250
      @steves9250 4 года назад +2

      @@Set_Abominae Wasn't there an object oriented version of COBOL II from IBM in the late 90's - I think I remember looking at it and thinking "why?". Each class was almost a standalone program.

  • @DUANEYAISER
    @DUANEYAISER 4 года назад +208

    I live in New Jersey, an hour after hearing my governor calling for COBOL programmers, I started to research and plan how to learn it. One morbidly verbose online tutorial and one day of figuring out how to run a virtual mainframe along with setting up its 3270 virtual terminal, I've gotten a decent "Hello World" out of it. :-)

    • @jayspeidell
      @jayspeidell 2 года назад +6

      How did that go?
      It's brutally difficult to get entry level programming jobs these days even with a degree. I've been toying with the idea of COBOL but I'm also wondering if there's like a minimum experience requirement to break into "entry level" jobs.

    • @DUANEYAISER
      @DUANEYAISER 2 года назад +27

      @@jayspeidell I contacted the appropriate number that the governor mentioned; mind you, he literally said that the unemployment system was backed up so heavily they were desperate to find anyone who’d work with COBOL . . . I never heard back.
      It was a long shot but worth the try.

    • @romievthedon
      @romievthedon Год назад

      That sounds terrible 🤣🤣

    • @RazzFazz-Race
      @RazzFazz-Race Год назад +1

      In my opinion Cobol is a very easy language, which you can master in 1 or 2 month, if you have programming knowledge. Very Special is the control-break algorithm and the sort algorithm in cobol.

    • @WackoMcGoose
      @WackoMcGoose Год назад +3

      @@jayspeidell These days, it seems like most places no longer accept "self taught" experience at all, nor unpaid internships. If you weren't getting _paid, by a company that was not yourself,_ to write on someone's computer, then you have "no experience".

  • @wojtekpolska1013
    @wojtekpolska1013 2 года назад +36

    if you learn COBOL you will definitely have a lot of job opportunities.
    Everyone learns the new languages now, but there is a lot of demand for developers able to work on legacy systems. its so bad that some companies are begging retired programmers to come out of retirement to fix a problem for them.
    So if you learn COBOL or any other legacy language, expect to work on number of old systems, doing very specific things that there is just no modern replacement to.

    • @marquezdrums
      @marquezdrums Год назад

      What kind of salaries could one demand doing this and how do those salaries compare to working with modern technologies as a software developer?

    • @MrBranh0913
      @MrBranh0913 4 месяца назад +3

      The issue is that even if you learn COBOL you’d be useless in most of these code bases. There are also different versions of COBOL like COBOL II and III. Some are different depending on the mainframe. And it’s not just COBOL you will also need to learn things like JCL and CICS. There is a whole stack and there isn’t a ton of info about it anymore.
      Oh and you know there are COBOL code bases that are 50+ years old and billions of lines of code. So uh good luck

  • @DAAI741
    @DAAI741 4 года назад +23

    That's what's known as "readable code"
    It's a very important and underappreciated paradigm guys

  • @feschber
    @feschber 4 года назад +695

    During labor, the pain is so great that a woman can almost imagine what men feel when they code in COBOL

    • @jayanths1221
      @jayanths1221 4 года назад +106

      What about the pain a woman feels when coding in COBOL whilst being in labor?

    • @okie9025
      @okie9025 4 года назад +114

      @@jayanths1221 almost as hard as being a php programmer in 2020

    • @jayanths1221
      @jayanths1221 4 года назад +24

      @@okie9025 Hey take that back, you're talking to a PHP programmer in 2020..

    • @okie9025
      @okie9025 4 года назад +55

      @@jayanths1221 get rid of that old php stuff, COBOL is the future!

    • @senwagjai
      @senwagjai 4 года назад

      I could feel that because I am using cobol for last 1 year!!!

  • @ionitaa
    @ionitaa 4 года назад +101

    You know the world is ending when a JS slinger is suggesting we start learning COBOL to stay employed...

    • @andrewlankford9634
      @andrewlankford9634 4 года назад

      They should instead hire someone to develop something slightly better.

    • @willinton06
      @willinton06 4 года назад +8

      Andrew Lankford yeah, they should hire someone to rewrite all that legacy to mindfuck, imagine how efficient they would become

    • @io1921
      @io1921 3 года назад

      @@willinton06 whats with mindfck anyway .

  • @bkbenelli
    @bkbenelli 4 года назад +70

    This video is great; I was debating between Rust and Go as my next language but I think these COBOL guys might really be on to something.

    • @GigaPlaya
      @GigaPlaya 4 года назад +2

      What do you think are the best features of Rust or Go or maybe DART?

    • @akin242002
      @akin242002 2 года назад +1

      😄 🤣 😂...unless this is some bad sarcasm, go with Go. You will be happier and program with the cool kids 😎.

  • @zoltankaparthy9095
    @zoltankaparthy9095 3 месяца назад +3

    Fed me for 20+ years. Thank you,Adm. Grace Murry Hopper.

  • @lalalalala13456789
    @lalalalala13456789 4 года назад +38

    I'm COBOL ex-developer and this video is so well-done! 🤘Many claps, you made my day!

    • @KJ-qs3xf
      @KJ-qs3xf 3 года назад +2

      Would you recommend going into it?

    • @chiragsingla.
      @chiragsingla. 2 года назад

      grill detected, opinion rejected

    • @meru_lpz
      @meru_lpz 2 года назад +10

      @@chiragsingla. your powerlevel is showing, go back to /g/

    • @Ergydion
      @Ergydion 2 года назад +7

      Slightly off topic but how would pronounce your name?

    • @alexweitz
      @alexweitz 2 года назад +8

      @@Ergydion I think she just hit her face on the keyboard when writing the last name

  • @scottgates4979
    @scottgates4979 2 года назад +5

    Former COBOL Coder here. COBOL is as interesting as an old yellow brick. BUT, it does it's job REALLY WELL. It handles records that are SOMEWHAT readable by humans. It crunches those basic math numbers and sorts the lists of customers with APLOMB.
    That's all it does. It takes a record that could well have been on something like a 3x5 card...matches it with like records, extracts the data important to the users, and puts it somewhere they can use it.
    You don't always need a racehorse or even an exotic unicorn. Sometimes, you JUST NEED A MULE.

  • @martinlortie
    @martinlortie 4 года назад +134

    I was forced to take 3 courses COBOL in college, after the third course I swear to myself to never touch COBOL of my life again!

    • @norbertodanielhernandez1763
      @norbertodanielhernandez1763 4 года назад +5

      COBOL, PL/1, Basic, FORTRAN, only the beginning!!!!

    • @kolive81
      @kolive81 4 года назад +5

      I wasn’t crazy about it either but when I entered the market in the 80’s, it was my best bet. I got away from coding in it after about 3 years and flipped to the side of installing software on the mainframe after 5 which meant I was then supporting the flood of questions from a too rapidly growing, primarily COBOL writing, department. Ah, fun times.

    • @piecepaper2831
      @piecepaper2831 4 года назад

      i feel the same about Prolog

    • @jimchabai3163
      @jimchabai3163 4 года назад +2

      I went to college in 1986-1988, it was assember, cobol, rpg II, pl1. Other secondary languages they taught us were fortran, pascal, and APL, which were on the way out (pascal was never really used in business, mostly used in universities). Used cobol extensively from 1988-1993 when we started converting to client/server. pc's couldn't do much back in the day, and a unix server was expensive and slow. mainframes and minis were still fast if you have 50-5000 people hammering in transacations.

    • @evertonc1448
      @evertonc1448 3 года назад

      @@jimchabai3163 I heard if you like math, modern APL is a nice hobby language to have now days. One thing is for sure: I wasn't built to mess around with APL.

  • @colbr06
    @colbr06 2 года назад +10

    I have been working on COBOL since 2011 when I got my first job out of college. It is my favorite language I have ever learned. This video obviously oversimplifies the language to fulfill some weird vendetta, but it is without a doubt still in very high demand.

    • @gregh7457
      @gregh7457 Год назад

      i remember mid 80's in college printing out reems of paper on the big printer. some of those programs had a zillion lines of code but i loved cobol.

    • @marquezdrums
      @marquezdrums Год назад +1

      Is it feasible for modern professional software developers to learn COBOL development in say one year and be able to offer value or is it a language and programming environment that takes many years to get to a professional level? Asking for a friend.

  • @harpymaslow
    @harpymaslow 4 года назад +59

    That was actually very interesting haha. Also I laughed out loud with the responsive joke. Good one Jeff

  • @limemom3986
    @limemom3986 3 года назад +271

    At my first job, my supervisor was a guy somewhere in his 60's who had programmed many of our legacy COBOL programs himself in the nineties.
    He was very confused as to why I found the language incredibly frustrating to work with, since "it's just english".

    • @SeppelSquirrel
      @SeppelSquirrel 2 года назад +8

      I like python because it's mostly just English.

    • @hopelessdecoy
      @hopelessdecoy 2 года назад +13

      I ran into the same problem, my COBOL mentor said they hated modern languages because they do too much stuff for you. Once you have read through massive amounts of COBOL though its design does start making sense weirdly

    • @Momi_V
      @Momi_V 2 года назад

      @@hopelessdecoy I think that's called Stockholm Syndrome

    • @MrSmitheroons
      @MrSmitheroons 2 года назад +1

      When you forget what it was like not to know how to do the thing you spent several decades learning how to do...

    • @jamesfunk7614
      @jamesfunk7614 2 года назад +7

      @@hopelessdecoy Your COBOL mentor must have loved assembler language programming.

  • @IceyNoEvil
    @IceyNoEvil 4 года назад +47

    That's how I started my career at a large bank 🏦
    And honestly, the only thing you can't use it for Is web/mobile services. But rest assured that all the heavy number crunching and processes from request API are sent to the mainframe backend to get processed because it's still the core of many enterprises processes.

    • @kolive81
      @kolive81 4 года назад +12

      Actually, COBOL can be used for web services. I used CICS (transactional system) and COBOL for a proof of concept in the 90’s for adding a web interface to our mainframe COBOL programs.

    • @marloelefant7500
      @marloelefant7500 4 года назад +3

      @@kolive81 I guess, when he sais "can't use it for web/mobile services", he actually means that there is no publicly available, well-known library or framework for it

    • @vanlepthien6768
      @vanlepthien6768 2 года назад

      Depending on the compiler and the machine it's running on...
      I wrote an error-correcting file transfer protocol (with automatic reconnect) on minicomputers in COBOL in 1977. Had to use auto redial because 1200 baud tended to drop.

  • @josephcote6120
    @josephcote6120 2 года назад +172

    Comfortably retired at age 54 after 30 years as a COBOL programmer. Haters gonna hate, but it was a fun ride.
    PS I was one of the guys that saved the world from the Y2K bug. You're welcome.

    • @amandahugankiss4110
      @amandahugankiss4110 Год назад +13

      What are the odds you burdened us with y2k in the first place?

    • @JLajos
      @JLajos Год назад +1

      @Jessy Guirado Be with you may the COBOL!

    • @josephcote6120
      @josephcote6120 Год назад +9

      @@amandahugankiss4110 Zero. Absolutely zero. What's your point?

    • @michaelinhouston9086
      @michaelinhouston9086 Год назад +3

      I took one semester of COBOL in college and I really enjoyed it. The funny thing was that even though I got a C in the class, I felt like I learned everything. That class really helped me to think logically and I was still using broad principles I learned in there 20 years later (to solve computer problems).

    • @josephcote6120
      @josephcote6120 Год назад +3

      @@michaelinhouston9086 I think that's the best part of learning any procedural computer language. You have to figure out how to solve the problem before you can make the computer do it. One you know it's just syntax after that.

  • @willswill8163
    @willswill8163 4 года назад +117

    Working in a financial institution, I can confirm that COBOL is still widely used and maintained.

    • @spacemeter3001
      @spacemeter3001 4 года назад

      Are you serious or is that just a joke?

    • @willswill8163
      @willswill8163 4 года назад +22

      @@spacemeter3001 Dead serious. I even had the absolute pleasure of maintaining PL/1 applications in my old department (old IBM mainframe language). Being a CS student, it was not the most lucrative situation, so I switched to another department working with modern technologies instead.

    • @arnold241
      @arnold241 3 года назад +5

      this is true , most of the old banks are still running their systems on Cobol , they cant migrate because they are sensitive data relates to people money

    • @ClaytonChew92
      @ClaytonChew92 3 года назад

      Yes, I can attest this. Maybe of old legacy core system are literally running COBOL due to IBM’s supremacy back then. Why you think IBM still around eh?

    • @altairtodescatto
      @altairtodescatto 2 года назад +3

      And if you are a senior COBOL programmer, its easy to get insane amounts of money in salary. It became the "nobody will learn so we got pay the big bank to the one that still know"

  • @KK-pq6lu
    @KK-pq6lu 4 года назад +44

    Slight error. The punch card has 80 columns. Columns 73-80 were usually used to number your cards. Why? In case you dropped your desk or cards on the way to the punch card reader.

    • @soaringvulture
      @soaringvulture 2 года назад +4

      That's why you put a diagonal line on the side of your card stack with a marker.

  • @OGAndrew94
    @OGAndrew94 4 года назад +188

    Most of the United State's unemployment systems are still currently written in COBOL, so while it is an antiquated programming language, the few of those that do still know it can make an absolute crap load of money for their services.

    • @Rakkoonn
      @Rakkoonn 4 года назад +20

      Banks and insurance companies all over the world also still use COBOL. In my country though it's mostly been maintenance with little new code written, so it gets outsourced to cheaper countries.

    • @OGAndrew94
      @OGAndrew94 4 года назад +20

      Ceramic yeah, pretty much all the financial systems are built in COBOL. Weird to watch a video making fun of a language that fuels much of what we do.

    • @callummoore5542
      @callummoore5542 4 года назад +6

      Lol yeah I work at a company that sells COBOL compilers for mainframe and pc and hearing and seeing the guys who work on cobol so there jobs makes me appreciate why we get paid so much ( I work on similarly outdated tech that is business critical). They work with banks that kick off because they made dividing by zero throw an exception rather than do nothing as well as other customers using other weird undefined bits of behaviour.

    • @Rakkoonn
      @Rakkoonn 4 года назад +26

      ​@@OGAndrew94 It's just that many seem to think old = bad, which makes no sense considering many older languages like C are still widely used.

    • @darwinhatheway6176
      @darwinhatheway6176 4 года назад +11

      I'm not so sure about that. New Jersey is using COBOL in their unemployment processing but I heard they are looking for "volunteers." I've checked into that, there's rarely much money in "volunteering."

  • @SeriesTube01
    @SeriesTube01 2 года назад +10

    When I told my mother I was learning to code on my own last year, she told me about the courses of COBOL and the punching cards that existed back when she was young. She's 66 now. 😁

    • @michaelinhouston9086
      @michaelinhouston9086 Год назад

      In college the big challenge was to find a keypunch machine that was not being used. At my college they were put in any vacant spot - my favorite was in a small room under a stairwell - those machines were almost always available.

  • @ctgottapee
    @ctgottapee 4 года назад +3

    COBOL is the simple part
    Managing the JCL and other mainframe tasks to compile and put into production is where the mastery is. This is mission critical, high throughput stuff running on 70's PC design, working with 40 years of production libraries and hacks.

  • @the_street_coder4433
    @the_street_coder4433 Год назад +8

    " you are qualified to earn your 6 figure salary" ‏‪1:42‬‏ :Error not found 😂

    • @xaviconde
      @xaviconde 29 дней назад +1

      He's running the cbl source file as a script, instead of the binary program he compiled.

  • @kirkb2665
    @kirkb2665 3 года назад +64

    I took a programming class that used COBOL.
    Once you figure out it's unusual syntax it's actually just modular programming.
    You write the modules and a main module.
    The main module then calls the modules you wrote.
    The biggest problem with COBOL is that almost no one teaches it any more.

    • @lesthodson2802
      @lesthodson2802 2 года назад +31

      @@20cmusic Cry harder. 😂

    • @michakrzyzanowski8554
      @michakrzyzanowski8554 2 года назад +3

      @@20cmusic yeah, but who's going to hire someone that doesn't know a thing about cobol?

    • @StellaEFZ
      @StellaEFZ 2 года назад +5

      @@lesthodson2802 He is right though, production is a completely different beast

    • @atomfusion231
      @atomfusion231 2 года назад +6

      @@StellaEFZ Thing is, if you had to decide between a candidate that had absolutely zero experience in COBOL vs a candidate who has taken introductory classes into COBOL, therefore understanding the basics of the language, which would you pick?

    • @StellaEFZ
      @StellaEFZ 2 года назад +2

      @@atomfusion231 I'm not saying to ignore people who know or who doesn't know, I'd pick the one who has the most experience 100%, esp since COBOL is basically black magic

  • @Maazy16
    @Maazy16 3 года назад +5

    I just would like to thank you for providing such good and simple explanations about what things are, things that I have no time to fully read about but that I still want to know about. Thank you, I hope you will keep up the good work

  • @ArginLerit
    @ArginLerit 4 года назад +77

    Love the part where he says "...it ensures your program is responsive on mobile devices". 😂

    • @demondogmom7221
      @demondogmom7221 2 года назад

      Yeah... this dude is an ijit. Stopping in column 72 was because there was a sequence number in 73-80..especially important when your program lived on Hollerith 80 column cards.

  • @Steve-Richter
    @Steve-Richter 4 года назад +9

    The cobol language is a small fraction of what you need to know. A lot of database IO predates SQL so there is a lot to know there. You have to know how to compile and link your program. How to use job control language. Is your job running interactive or batch. How to display info on the screen and accept data entry. Calling another program, submitting a batch job.

    • @admirableemanuelaquila9763
      @admirableemanuelaquila9763 4 года назад +1

      Steve Richter
      Yes. You really know Comun Bussines Oriented Language.
      I became a Senior programmer because I learn it in 1978.
      Many years later l was using it with Structured Query Language.
      I worked with IBM 360-H-40 in the beggining.
      Then I used WANG systems. But in the begining you had to be a system mainframes operator with knowlege of JCL. Job Control Language.
      I also learned RPG l ll lll Report Program Generator.
      Almost 20 years ago I was a Data Processing Manager
      I also knew Formula Translator Program.
      God bless you.

    • @Steve-Richter
      @Steve-Richter 4 года назад +2

      @@admirableemanuelaquila9763 I started programming maybe in 1982 on an IBM AS400. Back then it was called the S/38. Mostly RPG. It was easy enough to work with COBOL when we had to.

    • @admirableemanuelaquila9763
      @admirableemanuelaquila9763 4 года назад +1

      Steve Richter
      Yes
      Remember those computers.
      Today I begin to listen videos about COBOL.
      To Remember
      My first Language is spanish and I was learnining english in 1977/1978.
      And also COBOL. Ha ha. God bless u

  • @tsbrownie
    @tsbrownie 2 года назад +7

    Pro-Tip: You can use "redefines" to change an alpha to a numeric. Very useful for hashing or as a general array index.

  • @pierrekilgoretrout3143
    @pierrekilgoretrout3143 2 года назад +81

    I regret that you did not mention the role of the rear admiral Grace Hopper at the origin of COBOL
    The divisions were used to clearly separate data from procedure, long before OO started talking about state and behavior.
    Also, the identification division contains metadata (information about the program), a concept that appeared in modern computer languages much much later.

    • @hahathatsgood
      @hahathatsgood 2 года назад +9

      Thanks for recognizing Hopper here! She should have been mentioned in the vid

    • @thomasmaughan4798
      @thomasmaughan4798 2 года назад +6

      I met Adm Hopper briefly at the Washington Navy Yard; just passing in the passageway. No time to chat with me but it was awesome meeting a living legend in person.

    • @acmenipponair
      @acmenipponair 2 года назад +3

      The reason is also that they tried a Harvard code architecture with COBOL, so that the source of the data is completely irrelevant for the program that runs it. In that time necessary, as the data was stored on big replaceable tape drives or "hard drives" or even punch cards. Also the computers were slow so they needed to assure, that one process wouldn't change data another program was working with at that moment.
      Nowadays this architecture becomes relevant again for PCs because of multicore multithread calculations - when you have seperate cores using the data the data should be inside the program secured from being changed while a process runs it

    • @mage3690
      @mage3690 Год назад +2

      And here I thought that the DATA and PROCEDURE divisions were there to imitate Assembly with its "section .text" and "section .data". Who knew?

  • @vaidalex2
    @vaidalex2 2 года назад +3

    COBOL, JCL, CICS, DB2 will never die & will continue to bring me my pay check on .

    • @sagejpc1175
      @sagejpc1175 2 года назад +1

      Batch Intertest pays my bills

    • @vaidalex2
      @vaidalex2 2 года назад +1

      @@sagejpc1175 I use xpediter

  • @jamesfunk7614
    @jamesfunk7614 2 года назад +4

    In the *Dilbert* comic strip chat on Disqus, someone mentioned that 75% of projects to replace legacy systems fail. As a result, managers are reluctant to start projects that replace legacy systems. And that's why so many COBOL legacy systems are still around.

    • @jamesfunk7614
      @jamesfunk7614 2 года назад +2

      In a chat room, someone mentioned that although a CPU might have instructions that support decimal (BCD,) arithmetic, few modern languages directly use that support for fixed-point decimal numbers. Someone replied that's a reason some managers of departments who code accounting applications still like COBOL.

    • @timothykeith1367
      @timothykeith1367 Год назад +1

      I once worked on a large Java project that had been converted from COBOL. Many of the Java programs felt like COBOL because they used a translator that replaced COBOL with references to Java classes. In my mind, it would have been just as well as to have kept some of it COBOL. The named fields in the COBOL file layout were more descriptive than record offsets

    • @brdrnda3805
      @brdrnda3805 7 месяцев назад +1

      @@jamesfunk7614 It's kind of surprising for me that fixed-point decimal is not a built-in data type in most programming languages. Graydon Hoare wantet it for Rust, but it never happened.

  • @Metruzanca
    @Metruzanca 4 года назад +21

    I thought i had missed the april fools video when i saw this in the recommended.

  • @AmeenAltajer
    @AmeenAltajer 3 года назад +4

    You're so awesome man, the implicit jokes and the content is freaking good.

  • @abhinav.sharma
    @abhinav.sharma 4 года назад +41

    Whoa...
    RESPONSIVE ON MOBILE DEVICES 🤣
    Fireship🔥

  • @mus3equal
    @mus3equal 2 года назад +2

    This was super helpful, getting into typescript. The id div example was what I needed visually.

  • @nirans9138
    @nirans9138 4 года назад +5

    I'm a COBOL developer, really love the language, has a certain style to it tbh, but not much scope in advancing my career, would probably change domains soon.

  • @RamblinRick_
    @RamblinRick_ 2 года назад +1

    This gave me flashbacks. Very painful flashbacks. I learned COBOL almost 50 years ago for my CS degree. Hated it.

  • @lmeza1983
    @lmeza1983 4 года назад +8

    I love educational straight to the point comic videos, keep them up please, I'm still postponing the 4hr python tutorial and that's my only real objective during the lockdown...

  • @jerryrusinko1219
    @jerryrusinko1219 Год назад

    Developed over 100 years ago in 1959... So a math wizard and a COBOL expert all in one package. Amazing.

  • @jimscott1717
    @jimscott1717 2 года назад +4

    I learned COBOL in 1975. When I was 46 in I was made redundant from my job as director of operations on a newspaper. I got a job based on my COBOL experience. I think there have been changes so that you can use Object Orientation with COBOL as well as SQL (which wasn't available when I first learned).

    • @guidosarducci209
      @guidosarducci209 2 года назад

      Object COBOL?! I have to get that, just as soon as I get my jet-propelled horse & buggy.

  • @patrickmullot73
    @patrickmullot73 4 года назад +2

    Problems solving by computer programming is the most satisfying sensation I can get. If you're lucky (and repeat repeat repeat), sometimes it can even get close to art!

  • @iamjimgroth
    @iamjimgroth 2 года назад +3

    I've worked with a program that used max 80 character data blocks. The reason was the same: punch cards. They weren't used actively anymore, but compatibility had to be maintained.
    The actual program had been upgraded over the years. The last time before me was in the 70s.
    Fun times.

  • @MrPlaiedes
    @MrPlaiedes 2 года назад

    The amount of shade thrown here is extraordinary.

  • @angelmarie2281
    @angelmarie2281 4 года назад +15

    Get out of my head! I just thought about learning COBOL the other day after reading an article.

  • @michaelhanson5773
    @michaelhanson5773 2 года назад +1

    i think i need to go back to school... COBOL was developed over 100 years ago in 1959 and still used in 2020... Right off the bat i can tell this video is going to be golden...

  • @sveltecasts763
    @sveltecasts763 4 года назад +57

    how to reverse a linked list in cobol 🤯🤔

    • @darwinhatheway6176
      @darwinhatheway6176 4 года назад +57

      Easy. Send the list through the card punch, run it through the card reader backwards. You're welcome.

    • @rodrigomatos7686
      @rodrigomatos7686 4 года назад +3

      @@darwinhatheway6176 genius

    • @cageybee777
      @cageybee777 4 года назад

      @@darwinhatheway6176 lol

    • @DylanMaddocks
      @DylanMaddocks 4 года назад +8

      That's actually the function of one of the 600 reserved words. You haven't memorized them all yet? 🤔

    • @clee6746
      @clee6746 4 года назад

      You can implement any type of linked list in COBOL if you know something about DATA STRUCTURE.

  • @thiagoferraz5362
    @thiagoferraz5362 4 года назад +2

    Cobol is a great language for what it is used. I love to code in cobol.

  • @TheBunzinator
    @TheBunzinator 2 года назад +16

    Disclosure: I'm a retired mainframe sysprog. I have never done anything in COBOL, and would not do so by choice given my current interests. But...
    COBOL is actually very good at doing the narrow range of things it was designed to do, and was particularly so in its time. It is in no way a general purpose language, and was never meant to be. If all I was doing was maintaining a ledger database by batch or online transactions, and producing reports, then I might put COBOL into contention for my language.

    • @nedhedrick5752
      @nedhedrick5752 2 года назад +1

      Also a retired sysprog. Never learned COBOL, I was always an assembler guy. You could do so much more, and write much more efficient code. If someone came to me for help with a COBOL bug, I would always ask them to provide the assembler output from the COBOL compiler so I could quickly diagnose using a memory dump! Dabbled a bit in FORTAN and PL/1, but never did much real coding with them. And btw, assembler gurus are also in demand, at bigger salaries than the COBOL folks!

  • @DQFozz
    @DQFozz 2 года назад +1

    I worked in an IBM shop where the the code was written in either COBOL on mainframe or RPG II (another archaism) on the midrange systems. Trouble is we also had a DEC VAX to run one very important system. IBM terminals used synchronous comms and the VAX used asynchronous comms to VT100 style terminals. Short story is that I wrote a 3000 line COBOL VT100 emulator to allow the VAX terminals to be output on synch. terminal network. It mostly worked!

  • @HiltonBenchley
    @HiltonBenchley 2 года назад +3

    "every program is structured with an easy-to-follow hierarchy" is the kind of thing someone might claim when they've never had to amend a COBOL program that is unstructured spaghetti code.

  • @benjaminthvedt7923
    @benjaminthvedt7923 4 года назад +2

    I love the self documenting features, even better than typescript

  • @jamesallen74
    @jamesallen74 4 года назад +6

    I KNEW IT! Mobile responsiveness! So glad COBOL is keeping up with the times.
    🤣🤣🤣

  • @glauco_rocha
    @glauco_rocha Год назад

    i love that in the specific case of COBOL the program doesn't runs and jeff just refuses to elaborate further, just wrapping things up at that point as per his normal video flow ROFL
    pure gold

  • @mattshnoop
    @mattshnoop 4 года назад +17

    Almost spat on my screen when you said the code had to be 72 characters "to be responsive on mobile!" Genius video 🤣🤣

    • @kolive81
      @kolive81 4 года назад +2

      Even the logic behind the 72 column limit was silly. If COBOL line numbers were on the left, why leave space on the right for more line numbers? when i was coding on the mainframe, 73-80 was typically for line numbers and the editor doesn’t display them. By the time punch cards were left behind, that 80 column limit was so ingrained that people couldn’t think about longer lines. In the old, old times, 73-80 were sequence numbers used for sorting the cards if they perchance got dropped. There was a machine that could sort the cards into the right order. Clearly, mechanical sort was superior to electronic sorting after the file was read in??? Beats me, it was before my time.

  • @lightfoot256
    @lightfoot256 2 года назад

    Love how the most played section is going back to review why it just errors out and throws syntax errors. The audio that overlays that is golden though. Awesome.

  • @darwinhatheway6176
    @darwinhatheway6176 4 года назад +3

    "... the reason we don't go beyond 72 columns is because your code needs to fit onto a physical punch card." I programmed a production program in COBOL, basically just once, in 1984. It's good to see that some things never change. However, it's not good to see that this thing has not changed.

    • @johannweber5185
      @johannweber5185 2 года назад

      Well, the more recent Cobol standards actually (optionally) support free form.

  • @michaeld1051
    @michaeld1051 4 года назад +9

    Someone needs to go check on Jeff. He’s not OK. Jeff, if you can read this, your family is very concerned…

  • @thomaskember3412
    @thomaskember3412 Год назад +3

    I worked as a programmer for 30 years using COBOL and various assembler languages. After I retired, I took a degree in computing which meant learning more exciting languages such as C, C++ and Lisp. Later on, I got on to other declarative languages like Haskell and am now looking at APL which is as far from COBOL as you can get.

    • @peterkirkaldy9017
      @peterkirkaldy9017 Год назад +1

      I remember reading a “If computer languages were vehicles” piece where APL was something like “a double decker bus that quickly takes rows and columns of data to their destination, but the instruments and controls are all labeled in Greek. Backwards.”.

    • @marquezdrums
      @marquezdrums Год назад

      Just curious, if you were to offer your services as a COBOL developer do you think you could make a lot more than what you would make as a Haskell or APL developer? I'm wondering if the myth about COBOL developers being in such high demand is true.

  • @rcstl8815
    @rcstl8815 10 месяцев назад

    I learned and used COBOL starting in 1978. About 45 years ago. Used big iron IBM 360-40.
    Columns 73 to 80 were for a sequence number if you dropped the card deck. The scrambled cards would be placed into a sorter, up to eight times to put them back in order! lol My eyes are tearing up from laughing at some of the things we did! This was a throw back to Assembler. BALR to all my peers.

  • @Behdad47
    @Behdad47 4 года назад +30

    1:32 my name is jeff

  • @softmechanics3130
    @softmechanics3130 Год назад +1

    The fire control system of the K9 Thunder, which comprises 70% of all recently deployed self propelleds, is written in Cobol.

  • @JayronWhitehaus
    @JayronWhitehaus 4 года назад +10

    Guys, the most amazing thing about this is that we get it.
    If you're a fireship fan it's likely that you're working hard daily to get better and learn some level of code. And the fact that we get this means it's working! Show this to most your friends and they'll have no clue what they're looking at!
    We're doing it guys!!!!

  • @mycolligjusvartid
    @mycolligjusvartid 2 года назад

    Learned this in the late 80s. It came as a shock going from a BASIC hobbyist

  • @michaelklaus_de
    @michaelklaus_de 4 года назад +14

    Thanks for 100 seconds of hysterical laughing! Really needed that XD

  • @Graphicxtras1
    @Graphicxtras1 Год назад

    Great video ... I loved working in Cobol !

  • @dominiclapitan8466
    @dominiclapitan8466 4 года назад +3

    We used this during our undergrad days in my university back in 2016 as an exercise. Maaan, never going back to using COBOL. So hard 😂😅

  • @DASDmiser
    @DASDmiser 4 года назад +1

    One of my favorite quotes from the 70s by an ex colleague while assessing job prospects, “I know COBOL and I won’t starve”.

  • @adesh116
    @adesh116 4 года назад +77

    "tats wats known as readable code" :D :D :D rofl

  • @phpsoftwareengineering
    @phpsoftwareengineering 2 года назад

    Had to watch this because I knew it would be good. Was not disappointed. 😆

  • @tomaskorn86
    @tomaskorn86 2 года назад +3

    The problem with those jobs is not that you have to learn COBOL, it's that you need to read COBOL written by 100 different programmers.

    • @vanlepthien6768
      @vanlepthien6768 2 года назад +2

      Have you seen the C code that's out there?
      You actually have to try to write indecipherable COBOL. Writing indecipherable C is easy, and it shows.

  • @sdt1sdt
    @sdt1sdt Год назад

    I'm not a programmer, and I'm not interested in programming, but I was born in the 60s and grew up with computers in the 70s and '80s and I actually knew what the acronym for COBOL stood for, so I clicked...
    Once I got into the video, I realized what I hate about almost every other video on RUclips...
    ...most videos on RUclips have a 1 to 2 minute introduction where the RUclipsr tells you what he/she is going to tell you, then they feel that they have to have some intro credits to brand the video, then you get the old "please like and subscribe to the video and click the bell to get notified for new videos" section. Now that we're two or three minutes into the video, most videos actually start...
    You are different and way better, because you get right to it.
    Within the first 5 seconds of this video you tell me what COBOL is and what the acronym stands for (even though I didn't need it) and then you get right into the guts of the presentation. I love it!
    Keep up the great work.

  • @crusaderanimation6967
    @crusaderanimation6967 3 года назад +3

    Mainframe with cobol:Pleace rewrite me in newer language and let me die I've been running for more time than you're zoomer workers were walking on this earth
    Companies: Haha mainframe with cobol goes brrrrrrrr.

  • @louielindenmayer6653
    @louielindenmayer6653 Год назад

    A large aerospace company used COBOL on their 'big iron' to design wiring harnesses in world-class airplanes. After the big iron was retired the millions of lines of COBOL code were migrated to Linux boxes (Windoze & relational db's were too slow) and its still working today.

  • @HiltonFernandes
    @HiltonFernandes 4 года назад +3

    Thanks for a good humored and informative video. But I gotta tell you that new versions of Cobol try to keep in touch with conputer language advances like object-oriented programming and event-driven programming for GUI.

  • @Mike__G
    @Mike__G 2 года назад

    I took two COBOL courses at the beginning of my tech career. I never had to use it in 38 years. Thank goodness.

  • @dwill123
    @dwill123 4 года назад +9

    I bet it is safe to say that there are more lines of COBOL in production today than any other programming language around.

    • @Studio1XN
      @Studio1XN 4 года назад +2

      How is that? Please explain. I think C and Assembler is a lot more used.

    • @dwill123
      @dwill123 4 года назад +1

      @@Studio1XN TO: aufsturz & Smug Anime Girl - all I can say is the sweet bliss of youth. You can google this one yourself, there are over 220 BILLION lines of Cobol in existence (production) today. My first programming language was Assembler (the best language ever written) but it didn't take many lines to create your programs (heck you didn't have the memory). I followed up with Cobol in the late 70s. I maintained programs that were 3000 PAGES long (not lines but PAGES). Ahh the joy of 'procedural' programming.

    • @dwill123
      @dwill123 4 года назад

      @@vlc-cosplayer TO: aufsturz & Smug Anime Girl - all I can say is the sweet bliss of youth. You can google this one yourself, there are over 220 BILLION lines of Cobol in existence (production) today. My first programming language was Assembler (the best language ever written) but it didn't take many lines to create your programs (heck you didn't have the memory). I followed up with Cobol in the late 70s. I maintained programs that were 3000 PAGES long (not lines but PAGES). Ahh the joy of 'procedural' programming.

    • @4.0.4
      @4.0.4 4 года назад +1

      I think it's safe to say more lines of Javascript or Python will be written _this month_ than there will be lines of COBOL for the duration of its existence.

    • @JimNichols
      @JimNichols 4 года назад

      @@dwill123 Assembly.... and Basic+ those were the days. 3000 pages of someone ELSES code makes you crazy I understand that. Cobol was not a fun progamming language for me at all in college.
      These guys don't understand anything that adds numbers like wall street, most banks, the US and most of the states uses Cobol and most of the things that control like all utilities are still running on Unix or the very early Linux as ladder logic controllers.

  • @donjohnson24
    @donjohnson24 Год назад

    Back around the 70's, I think, for the company for which I worked, I purchased some COBOL business software (purchasing, sales, payroll, etc) but managed to arrange access to the source code to enable me to write job costing software for the company -which made bespoke springs and pressings. I recall my first program compiled with hundreds of errors 'cos I forgot to put full stops at the end of program lines! And the verbosity of variables ! Later I think I solved the Y2K problem by adding 50 to the year portion of the date then testing whether it overflowed its two digits. I'm 83 now, but still recall the thrill of replacing that legacy system that used hand-written entries on Job cards with fully accessible and reportable screen based programs that used operators pay rates extracted from the payroll data. Pity I worked for a miser!