PROPOSAL: String parameters compile time validation (early beta)

Marek Kozieł develop4lasu at
Thu Mar 26 13:50:30 PDT 2009

Strings represent most wide range of objects, while they are omitted
with good validation at compile time (ide).
As help I want propose, or at start ask for opinion about adding
compile time validation to String parameters.

poor sample:

class Binary{

      void main(...){
         String bites = @RegExp("regExpName") "....";

      int parseBites(@RegExp("regExpName") String bites){

Validation by regexp-s would be only at compile time (efficiency).

Target is quite clear, but anyone see any problems?

Pozdrowionka. / Regards.
Lasu aka Marek Kozieł

More information about the coin-dev mailing list