Re:LSP could have been better
by spunker540 on Thursday October 12, 2023 @08:22AM
(#37856201)
Some percent of python code I’ve written code be rewritten as JavaScript code at the function-level.
[ Parent
| on HN ]
Meta's "Transcoders" or whatever they changed the name to demonstrate that. However, if we want perfectly semantically equivalent functions, as soon as you add two numbers, then Python -> JS is impossible. The best we can do is approximately translate the behavior.