www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: One document about Go

reply Kagamin <spam here.lot> writes:
bearophile Wrote:

 In Go you can omit semicolons at the end of lines, so I presume it's not a
terrible thing for C-like languages:
 
 In Go you can omit some () for example in "if":
 

Jun 03 2010
parent reply bearophile <bearophileHUGS lycos.com> writes:
Kagamin:

 bearophile:
 
 In Go you can omit semicolons at the end of lines, so I presume it's not a
terrible thing for C-like languages:
 
 In Go you can omit some () for example in "if":
 


I don't. In that summary about the Go document I have listed both feature I'd like to have in D3 (named arguments and multiple return values), and various other things present in Go that I am not interested in or I can live without. Sorry for the confusion, I have to state more clearly what I desire and what I am not interested in at the top of such posts of mine :-) For example, I prefer to avoid final semicolons if possible, but I have seen languages (like JavaScript) where this feature has led to a situation worse than the original C/Pascal situation, so I am not interested. Bye, bearophile
Jun 03 2010
parent Justin Johansson <no spam.com> writes:
bearophile wrote:
 Kagamin:
 
 bearophile:

 In Go you can omit semicolons at the end of lines, so I presume it's not a
terrible thing for C-like languages:

 In Go you can omit some () for example in "if":


I don't. In that summary about the Go document I have listed both feature I'd like to have in D3 (named arguments and multiple return values), and various other things present in Go that I am not interested in or I can live without. Sorry for the confusion, I have to state more clearly what I desire and what I am not interested in at the top of such posts of mine :-) For example, I prefer to avoid final semicolons if possible, but I have seen languages (like JavaScript) where this feature has led to a situation worse than the original C/Pascal situation, so I am not interested. Bye, bearophile

Ah, so you are a separatist rather than a finalist! Are you left-recursive also? :-) Cheers Justin
Jun 03 2010