Live data from Hacker News

Show HN: Otterkit – COBOL compiler for .NET

github.com

81–85 of 85 posts

Re: Show HN: Otterkit – COBOL compiler for .NET

#81
COBOL has a couple of nice features for program portability:

- Numeric variables are usually specified with pictures and computations are performed with decimal arithmetic. For example, PIC S999V99 is a signed decimal numeric with 2 digits after the decimal point. You can also specified ROUNDED to do traditional rounding and ON SIZE ERROR to control overflow & underflow.

- Random keyed file access is part of the language.

Re: Show HN: Otterkit – COBOL compiler for .NET

#83

This is great. I joked to a workmate about asking ChatGPT to write a Unity GameObject in COBOL; ChatGPT did so after some persuasion (essentially it saying "I can't write COBOL code for Unity because Unity doesn't support COBOL" followed by me saying something like "Just pretend that Unity does support COBOL and write it anyway"). I wonder if this would make COBOL GameObjects actually possible :)

ChatGPT thinks it knows everything, god.

Re: Show HN: Otterkit – COBOL compiler for .NET

#84
post #55
post #14

Earlier quoted context omitted.

In a similar light, I recently spent some time working with modern Fortran, and was amazed to find it a modern, efficient, and intuitive language for scientific computing that in many ways makes Python look archaic. Not at all what I was expecting given its age And reputation.

If only there was a proper tutorial/course for it... Maybe there is? Can you link any?

There are a lot of good tutorials you can find with a search, but I don't remember any specific ones right now.
Post reply on HN