"Tsuna" == Tsuna tsuna@warszawa.lrde.epita.fr writes:
On 2006-06-14, Akim Demaille akim@lrde.epita.fr wrote:
How about adding "end" "module" as sugar for "endmodule"?
I agree for a simple `end' (to be consistent with for loops, if statements etc.) but why on earth do you want to write "end module" :P Why not "for ... end for" then? (omg I would never want to write that :P)
IMHO a simple "end" is clear, concise, consistent if used everywhere, etc.
In Ada you may, at your option, qualify or not the end (with for, module etc.). The added feature is that you are more checked by the compiler, and the reader may appreciate where he is in the code when looking a longuish sources. That's already what people do with long cpp ifs.