Go vs. D vs Java 8

Israel Rodriguez via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 12 09:19:00 PDT 2014


On Saturday, 12 July 2014 at 16:11:46 UTC, Timon Gehr wrote:
> On 07/12/2014 05:56 PM, Israel Rodriguez wrote:
>> On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
>>>
>>> From the blog post:
>>>
>>>> However, the language itself feels a bit old and a bit too 
>>>> much like
>>>> C++. That's not strange considering its age, but you can’t 
>>>> help
>>>> thinking that time has left D a bit behind.<
>>>
>>> This is partially true, but it's also a matter of what kind 
>>> of style
>>> you use D. If you write it like java, it looks like java.
>>>
>>> Bye,
>>> bearophile
>>
>> As a C# programmer, i feel offended
>
> Why would you feel offended?

My code looks like java bro...
mmmmm, that delicious Java

if (File.Exists("gamesave.txt"))
             {
                 File.Copy("gamesave.txt", savedworkingdirectory + 
"\\gamesave2.txt", true);
                 Console.WriteLine("File processed succesfully");
                 Console.ReadLine();
             }
             else
             {
                 Console.WriteLine("Could not find file");
                 Console.ReadLine();
             }


More information about the Digitalmars-d mailing list