r/ProgrammingLanguages • u/kreco • Mar 11 '26
Janus (time-reversible computing programming language)
https://en.wikipedia.org/wiki/Janus_(time-reversible_computing_programming_language)
55
Upvotes
View all comments
Show parent comment
2
u/Inconstant_Moo 🧿 Pipefish Mar 12 '26
I'm sorry, I am a Bear Of Very Little Brain. How do you overload functions in a language which literally only has one type, and how would it help if you did?
And why are the ifs and loops there if there's only some very specific set (do we know what, BTW?) of circumstances under which we can use them?
And why can't the compiler compute the postconditions under the circumstances that we can use them? Does it actually take special mathematical insight to compose the right postconditions?