(But love C, C++ and Java)
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
Why create an extra class? It is a bad programming habit.
Why we don't use
#include <iostream.h>
main()
{
for(;
{
cout << "Hello World! ";
}}
instead? This doesn't make sense. I absoloutely hate the syntax of Microsoft. Why do they keep it too...Simple? Really. This is not Python. This is...an unreadable nightmare. And .NET, VisuaLBasic too suffer from the same, boring, dull syntax.
// Hello3.cs
// arguments: A B C D
using System;
public class Hello3
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++)
{
Console.WriteLine("{0}", args);
}
}
}
What the devil is this?
Why three curly brackets instead of
}}}
}}
}
I absloutely hate C#. I am amazed why people even hire C# programmers. It is obvious C & C++ still are the king, but that....is wrong. C#'s syntax is wrong. What is this? It's too simple. It feels like I am programming in English. It feels...just different. I've learnt C# ten years ago to increase my programming knowledge. Really, I am writing English more than syntax.
In Java, this is so simple but beautiful.
System.out.print.ln("Hello, World!"); //Done. From System import out and then print line 'Hello, World!'
This is beautiful.
printf("Beautiful");
This is not.
Console.Writeline("Ugly, Ugly, Ugly!");
Why? It's just...wrong. Does anything feel like me? Or am I turning old?
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
Why create an extra class? It is a bad programming habit.
Why we don't use
#include <iostream.h>
main()
{
for(;
{
cout << "Hello World! ";
}}
instead? This doesn't make sense. I absoloutely hate the syntax of Microsoft. Why do they keep it too...Simple? Really. This is not Python. This is...an unreadable nightmare. And .NET, VisuaLBasic too suffer from the same, boring, dull syntax.
// Hello3.cs
// arguments: A B C D
using System;
public class Hello3
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++)
{
Console.WriteLine("{0}", args);
}
}
}
What the devil is this?
Why three curly brackets instead of
}}}
}}
}
I absloutely hate C#. I am amazed why people even hire C# programmers. It is obvious C & C++ still are the king, but that....is wrong. C#'s syntax is wrong. What is this? It's too simple. It feels like I am programming in English. It feels...just different. I've learnt C# ten years ago to increase my programming knowledge. Really, I am writing English more than syntax.
In Java, this is so simple but beautiful.
System.out.print.ln("Hello, World!"); //Done. From System import out and then print line 'Hello, World!'
This is beautiful.
printf("Beautiful");
This is not.
Console.Writeline("Ugly, Ugly, Ugly!");
Why? It's just...wrong. Does anything feel like me? Or am I turning old?