From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Tue, 24 Dec 2013 11:47:25 -0500 Subject: Linux-wireless: why use macro to call functions In-Reply-To: Your message of "Tue, 24 Dec 2013 14:48:33 +0100." References: <52b80f05.c7b60e0a.2515.5c5e@mx.google.com> <1387800180.1784.65.camel@thorin> Message-ID: <109707.1387903645@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, 24 Dec 2013 14:48:33 +0100, Adrian Ratnapala said: > > So the main (or only?) purpose of the macro is to save > > Better to say it saves cutting and pasting, which is a damn good > thing -- even if macros are an old fashioned way of doing it. The biggest benefit of macros isn't saving the typing. It's so that if a change is required, you just have to make it once, not 35 times for the 37 times you cut-n-pasted it. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 848 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131224/98fa3a01/attachment.bin