print vs Console.writeLine
Posted: Tue Sep 16, 2008 7:40 am
- Code: Select all
class Program
def main is shared
Console.writeLine('Hello, world.')
- Code: Select all
class Program
def main is shared
print 'Hello, world.'
Both these little programs works. Obviously it's not the same using one or the other. Is there one way "better" of the other? Why?