Shouldn't it be better to allow last redundant COMMA separator in some Delphi syntax in Next Generation Compiler? e.g. in Uses Clause, Enum Declaration, etc. I have noticed that it has been allowed in array constructor:

Shouldn't it be better to allow last redundant COMMA separator in some Delphi syntax in Next Generation Compiler? e.g. in Uses Clause, Enum Declaration, etc. I have noticed that it has been allowed in array constructor:

  a := TArray.Create(1, 2, 3,);

Comments

  1. and what about if that will impact performance compiler?

    ReplyDelete
  2. I agree with François Piette , the compiler should bitch-slap me whenever something is not right before I get the chance to run and then go into a debug session.

    ReplyDelete
  3. Ibrahim HALOUANE compiler time is cheaper than developer time. Computers get faster all the time.

    ReplyDelete

Post a Comment