Re: The Problem with Programming



Ingvar Nilsen wrote:

If speed is crucial, one could use a profiler to track down the
bottlenecks afterwards, otherwise he put emphasises on readability of
the code, first and foremost. He also presented examples which I
before used to regard silly programming, like:

if (b = True) then
begin
bla bla
end
else
if (b = False) then
begin
bla bla
end

is preferred to:

if (b) then
bla bla
else
bla bla

Disagree. Si better the second option, more redeable. First just add
6*2 * 2 bytes to my hard disk, without benefits.

--
Donald
.



Relevant Pages

  • kconfig:
    ... Main purpose is to improve readability of the output when doing search ... and to inculde dependency information in the help text. ... bla bla bla ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: The Problem with Programming
    ... At a management session, Borcon 2004, the speaker advised us to ... used to regard silly programming, ...
    (borland.public.delphi.non-technical)
  • Re: The Problem with Programming
    ... used to regard silly programming, ... used this sort of incompetent Pascal programming as an example of what not ... to do in the company programming standards that I authored. ...
    (borland.public.delphi.non-technical)