On 20/05/2020 19:32, Marc Balmer wrote:
Am 20.05.2020 um 19:20 schrieb Coda Highland <chighland@gmail.com>:
On Tue, May 19, 2020 at 9:09 PM Gé Weijers <ge@weijers.org> wrote:
[snip]C), and the only language to rival it (that is, C itself) has some of the worst memory management ever seen in an applications language.
/s/ Adam
Actually memory management in C is super easy. When you need memory, you allocate it. When you are done with it, you free it.
Easy, right?
- mb
Well, "easy" doesn't necessarily mean "good".As with "You can /easily/ shoot yourself in BOTH feet (and in the head too, if you're not paying attention)".
That is actually a matter of what you do first. You can shoot yourself in your foot and then in your head, in that sequence.
The other way around, however, is unlikely. Head, then food, that does not really work.
--mb (Rifle/Pistol Instructor)
|