Yes that is Embedded 101.  How about 201, 301, 401 and the real world?  Dynamic allocation happens.  Parsing XML and OSC happens.  Recording sequences of various lengths happens.  It makes sense to apply intelligence to dynamic allocation.