Writing a polyglot script
16-Jan-2020 2382
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 #Writing #polyglot #script #script https://rubyonrails.ba/link/writing-a-polyglot-script