[sdiy] OT (but very synthy): C question

Jay Vaughan jayv at synth.net
Wed Mar 30 21:41:50 CEST 2011


> I will add this, though, part of the benefit of software is that you can cheaply use many instances of something, so usually you will end up making typedefs.  Nowadays, I always start with typedefs b/c more often than not I'm using them in ways that make structs alone harder to use.


Not me, my path goes:

struct {
	// .. 
} stuff_to_hold

struct stuff_to_hold *p_stuff;
struct stuff_to_hold **p_stuffs;

.. and thus, safely in pointer land, I care not much more of an iota for synonyms that are only useful to the programmer, and not the compiler .. ;)


;
--
Jay Vaughan







More information about the Synth-diy mailing list