Nothing stops you from doing this yourself.

But for something as basic as text operations, I think this is bloat.

Imagine that you would have to do
  I:=TInteger.Create(1);
  J:=TInteger.Create(2);
  I.Add(J);
What kind of language do you end up with then ? Utterly unreadable, and slow, because heavily relying on the heap.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Bad example
Numbers are scalars
Strings are vectors
+= operator in not so straightforward as for numbers.

Who else except Pascal developers knows that s:=s1+s2 is the string concatenation and invokes lot of hidden stuff that is out of control.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to