Writing a polyglot script

So here's the thing - I'm relatively good at Python. I somewhat know Ruby. Not good enough to write something complex, but enough to understand that it's "a bit" different from Python. Yet both of the languages have similar syntaxes, which made me think whether I could come up with a script that's valid in both languages.The shortest valid script could be:.
Writing a polyglot script #ruby #rubydeveloper #rubyonrails #script https://rubyonrails.ba/single/writing-a-polyglot-script

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles