4 ms·
For starters, there are simply many possible goals one can achieve with a translation: Translating it as literal as possible (which can result in barely readabl
by dev_dan_2 2mo ago
For starters, there are simply many possible goals one can achieve with a translation: Translating it as literal as possible (which can result in barely readable results in the target language, if the languages are far enough apart), translating it so that what thinks its meaning is is understandable, translating it assuming a particular worldview that might shape which alternatives to pick and so on.
A very loose translation could be how the "same program", as defined in its lambda calculus form, or as assembly code, is equivalent to dozens of programming languages, all with different goals and ways to reach their goal (declarative vs. imperative, functional vs. OOP, readable for beginners like Python versus APL, ...)