[Discuss] Casting the return value of malloc bad?

pw p.willis at telus.net
Sun Jul 16 13:32:55 PDT 2006


David Bronaugh wrote:
> 
> The point of this code escapes me entirely.
> 
> David


I guess my point is that, rather than just malloc'ing
some variable, I am adding some abstraction to the allocation
to allow me to do other things with the variable.

One can add great deal of variable abstraction to provide
a more objective approach to programming applications.

It's a computer language, you can do what you like.


Peter


More information about the Discuss mailing list