Converts code between programming languages using idiomatic patterns
Output: Converted code with detailed explanations. Context: Convert from {{SOURCE_LANGUAGE}} to {{TARGET_LANGUAGE}}, focus on {{IDIOMS_FOCUS}} idioms. Task: Convert this code: {{SOURCE_CODE}}. Constraints: Do NOT lose functionality. Do NOT ignore idiomatic patterns. Do NOT create literal translations. Use proper {{TARGET_LANGUAGE}} conventions. Include explanation of language differences.
0 copies
Variables
Replace these variables with your own values before using:
Rewritten code in the target language using its idiomatic constructs, explanations of key differences between languages, and examples of equivalent operations.