• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Code anachronism

So, I watch The Americans, and here's this screenshot:

2873yhl.png


I'd never seen a language before that used '%' for comments, but apparently that's Prolog.

For real? Or did they make that up?
 
Last edited:
That looks rather unlike Prolog, which is a pretty pure language. Looks more like a faked Ada, which would have been used in the context of safety related programming.
 
That looks rather unlike Prolog, which is a pretty pure language. Looks more like a faked Ada, which would have been used in the context of safety related programming.

^^ This.

It looks like it's trying very hard to be an ADA program, but doesn't quite make it.
 
Oh... It even mentions MatLab about halfway down the page.

Indeed it does. The comments may well be from some matlab code, but the code shown there sure as heck ain't matlab. It looks like ada with a few typos.

My guess is that they found some ada code and hacked it up to make it look legit. Then someone else decided that they needed a bit more text, so copied in some matlab comments to bulk it up a bit.
 
Back
Top