True. One of the interesting... "quirks" of modern languages -- Java and C# primarily -- is that creating more visual forms of text is almost more simple than writing out plain text to the console. For example:
class MyClass { public static void Main(string[] args) { System.Windows.Forms.MessageBox.Show("Hello world!"); } }
That would probably be significantly harder to recreate in few lines in Perl. Similarly, there are things in Perl that are easier to do than in C#. Languages are merely tools, and for each task, not all tools are the same. :)
Comments 7
namespace MyNamespace
{
class MyClass
{
public static void Main(string[] args)
{
Console.Out.WriteLine("Hello world!\n");
}
}
}
Reply
- Jux
Reply
http://www.python.org/doc/humor/#python-vs-perl-according-to-yoda
Reply
class MyClass
{
public static void Main(string[] args)
{
System.Windows.Forms.MessageBox.Show("Hello world!");
}
}
That would probably be significantly harder to recreate in few lines in Perl. Similarly, there are things in Perl that are easier to do than in C#. Languages are merely tools, and for each task, not all tools are the same. :)
Reply
Leave a comment