6 ms·
Can confirm, dealing with code in a foreign language is not easy. A few years ago I had to re-implement from behavior in our application that had been baked int
by bryondowd 8y ago
Can confirm, dealing with code in a foreign language is not easy. A few years ago I had to re-implement from behavior in our application that had been baked into the firmware of our old printers, since the new ones were supposed to be off-the-shelf. We had the source code for the old printers, so no problem, right? Except the company that made them was French, so every comment was in French, and all the identifiers were not just French, but French abbreviations and acronyms mixed together. I could run the comments through Google translate and get a good enough idea, but there was almost nothing I could do about the identifiers, except occasionally get lucky and guess based on cognates. Can't imagine how it would have gone if the language was less similar, like any of the Asian languages.
Thankfully, I didn't really need to refer to the source code often, since I could just work out the finer points of the behaviors I needed to mimic by printing messages that hit all the corner cases.