3 ms·
For more complex tasks, asking it to write in a more comfortable language for that task and then translate to target language helps. Example: if you ask Claude
by liuliu 2y ago
For more complex tasks, asking it to write in a more comfortable language for that task and then translate to target language helps. Example: if you ask Claude to write code that generates UDP datagram for mDNS in Swift, it will fail flat. But if you ask for C and translate, it can succeed.
BTW, Python is usually the more comfortable language.