:: Re: [DNG] "Common knowledge?"-quest…
Inizio della pagina
Delete this message
Reply to this message
Autore: KatolaZ
Data:  
To: Rainer Weikusat
CC: dng
Oggetto: Re: [DNG] "Common knowledge?"-question
On Fri, Jan 22, 2016 at 09:34:28PM +0000, Rainer Weikusat wrote:
> Can the effect of the following C function
>
> static void print_start(char const *name, char const *what)
> {


[cut]

> be considered obvious or should it rather get an explanation?
> ?



katolaZ said:

Well, it will depend on the audience. It's a pretty basic example and
if one has got some expeience of writing C code would get it at the
first read (even without your explanation at the end, I guess). If the
audience is a freshman module in programming, I wouldn't use it as a
first example ;)

KatolaZ said

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]