version(D_Version2)

Derek Parnell derek at psych.ward
Wed Mar 12 01:48:54 PDT 2008


I just want to lodge a formal complaint. 

The implementation of version(D_Version2) that insists that code in its
scope must be valid version 1 (one) code is a true PITA.

<rant rating="venomous">
Almost without exception, I'm finding that I have to use the string mixin
idiom. Using that idiom excessively is bad coding form, IMNSHO.

Having to constantly use 

  version(D_Version2) {
     mixin(` ... version 2 specific code ... `);
  }

is NOT A GOOD SIGN !!!!

</rant>

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list