In our previous episode, dmitry boyarintsev said:
> Does this innovation makes "case" a function?

I'd rather say an expression.
 
> procedure SomeProc(const v: string);
> 
> SomeProc (  case Other of
>                         a: 'a';
>                         b: 'b';
>                    end; );
> 
> Imho, this reduces the code readability.

Even if you are a favorite of said functionality, it should not
be added adhoc, but integrated in the language definition. (but that
would mean it is no longer Pascal).

I don't see the use either. Moreover the benefit/cost (work) is way to high
IMHO
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to