FROM : Thomas Engelmeier
DATE : Sun Feb 03 17:44:22 2008
On 01.02.2008, at 18:35, John Stiles wrote:
> Well, most C++ code should be using new and not malloc() anyway.
> malloc() is a holdover from the Bad Untyped Days of C.
That particular API has some semantics that proliverate bad
programming practice, anyway - structs with trailing variable length
data buffers. A lot of C casts, offsetof and whatever.
Regards,
Tom_E
DATE : Sun Feb 03 17:44:22 2008
On 01.02.2008, at 18:35, John Stiles wrote:
> Well, most C++ code should be using new and not malloc() anyway.
> malloc() is a holdover from the Bad Untyped Days of C.
That particular API has some semantics that proliverate bad
programming practice, anyway - structs with trailing variable length
data buffers. A lot of C casts, offsetof and whatever.
Regards,
Tom_E
| Related mails | Author | Date |
|---|---|---|
| John Stiles | Jan 30, 16:22 | |
| Cor | Jan 31, 00:17 | |
| Vance | Jan 31, 00:42 | |
| Uli Kusterer | Jan 31, 00:53 | |
| John Stiles | Jan 31, 01:00 | |
| Thomas Engelmeier | Jan 31, 09:22 | |
| Jiva DeVoe | Jan 31, 16:17 | |
| Shawn Erickson | Jan 31, 17:39 | |
| Shawn Erickson | Jan 31, 17:40 | |
| John Stiles | Jan 31, 18:25 | |
| Kevin Elliott | Jan 31, 19:17 | |
| Jay Reynolds Freem… | Jan 31, 19:20 | |
| Thomas Engelmeier | Feb 1, 12:13 | |
| John Stiles | Feb 1, 18:35 | |
| Thomas Engelmeier | Feb 3, 17:44 | |
| Alastair Houghton | Feb 3, 19:16 |






Cocoa mail archive

