3 ms·
Object Pascal has two magic types, dynamic arrays and AnsiStrings. These are automatically reference counted. Objects and classes have to be managed by hand, y
by shadowofneptune 4y ago
Object Pascal has two magic types, dynamic arrays and AnsiStrings. These are automatically reference counted. Objects and classes have to be managed by hand, yes.
In general, expect a lot more compiler magic out of Pascal, a lot of concepts were hacked into the Borland compilers over time.
- usrnm 4y agoSo, it's closer to C++ wrt safety, not Go or Rust.
- shadowofneptune 4y agoThat is accurate, yes. Borland C++ and Delphi share the same component library and are interoperable.