Re: About VS C++



Andre Kaufmann wrote:
Another point I like is that every object can be simply converted to a string and therefore simply printed - big plus for debugging. You may ship a debug

That is quite cool. I use the TechInsite tiOPF (Object Persistent Framework) for all my commercial apps, and it has the same functionality. I base most of my objects on the TtiObject class which includes handy features such as the Visitor and Iterator design pattern. I can also do things like MyObject.AsDebugString which then outputs the objects to a string, including a few other handy things like the ObjectState. If MyObject contains other published objects, it will output them as well in a text hierarchy.

Like you said, a excellent feature for debugging. :)

Just for interest sake, Free Pascal has generics implemented as well.

Thanks for the info. I searched about such information on the FPC site, but haven't found anything about generics. And most of the links didn't work, either I had to log into a ftp server or the http server responded with an error.

I don't think generics was included in the 2.0.4 release, but I do know it is in the 2.1.1 development release which will be included in the next 2.2 stable release (soon). I guess as soon as the next stable release is out, the web docs will be updated.


--
Graeme Geldenhuys
There is no place like S34° 03.168' E018° 49.342'
.



Relevant Pages

  • Re: How come Ada isnt more popular?
    ... container varies, the element does not. ... The user should be able to describe string type in language terms ... but there are no generics instantiated. ... Implementation inheritance without values ...
    (comp.lang.ada)
  • Re: Thread exiting with code 1282 (0x502)
    ... the application exits when I display a dialog that contains text boxes with some large strings. ... I start debugging with VS2005, interact with the application so that it displays a properties dialog for one of the graphics objects we have, then I click on a button that displays another dialog with four Combo Boxes. ... 3.- I get to the Combo Box again and I enter the new long string and this time I quickly press "OK" and save the object. ... Please let me know if the implementation of OnToolTipNotify() should be different. ...
    (microsoft.public.vc.mfc)
  • Re: Java Generics and Erasure foobar
    ... I mean if I mix a String with an Integer this will come out in unit ... So one of the primary features of generics is this: ... Compile time safety is another vital feature. ... out in unit tests," but are you really that confident that every ...
    (comp.lang.java.programmer)
  • Re: The Demise of C#
    ... I understand generics fine thank you. ... And please point out to me where I called myself a C++ programmer. ... > stating that both operands are going to be converted to string as ... >>> requiring explicit casts and explicitly indicating where you ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: A Generic Generics Problem
    ... You'll get a warning at compile time, ... I suppose I'm asking for the impossible: the type safety of generics ... underlying object preserve the type information after it's created, ... List<String> always knows that it can only take a String because the ...
    (microsoft.public.dotnet.languages.csharp)