Java
if(!treat) trick();
C#
if(!Treat) Trick();
Python
if not treat:
self.trick();
Ruby
trick unless treat?
結論: Ruby が一番シンプル
Java
if(!treat) trick();
C#
if(!Treat) Trick();
Python
if not treat:
self.trick();
Ruby
trick unless treat?
結論: Ruby が一番シンプル