News for hackers. Stuff that matters.
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by BasiliusCarver on Sunday May 24, 2020 @11:02PM (#23297348)
I wanted to learn a little bit of COBOL so I could have a better understanding of the code underpinning a large amount of the money that flows through our banks. I found it quite enjoyable and it's less scary than I anticipated given the reaction I've seen from a lot of developers. If anyone has pointers for how I could improve this feel free to hit me with a PR.
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by agustif on Monday May 25, 2020 @08:59PM (#23306433)
Would you mind sharing any resources you found helpful along the way? Might wanna pick it up on the near future
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by BasiliusCarver on Tuesday May 26, 2020 @04:21PM (#23315951)
I started by copying a COBOL helloworld program and working through the concepts on https://www.tutorialspoint.com/cobol It's very lightweight but that's what I was after. What I wish I had done from the start was compile with all warnings (-Wall) because it would have caught a few things like me assigning constants to variables (pictures in COBOL) that were not the right size so they were silently truncated at runtime
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by atum47 on Tuesday May 26, 2020 @02:24PM (#23314657)
This is great. Remember me of my early days on Java when I made a Battleship game. I was recently curious about cobol, after reading that it is in high demand these days. I'll try something myself later.

Good job.

Re:Show HN: A Simple COBOL Game, TicTacTOBOL by BasiliusCarver on Tuesday May 26, 2020 @06:13PM (#23317052)
Thanks, I might give "Connect FORTRAN" a go next
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by quickthrower2 on Tuesday May 26, 2020 @01:32AM (#23307743)
That COBOL reminds me of a Terraform configuration file. Maybe we've gone full circle?
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by makaze on Tuesday May 26, 2020 @12:59PM (#23313530)
Very nice, its amazing how many banks still utilize this aging language.
Re:Show HN: A Simple COBOL Game, TicTacTOBOL by jscnz on Sunday May 24, 2020 @11:36PM (#23297535)
dope