[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Why is C so popular?



Kirk Strauser <kirk@strauser.com> writes:

> I agree.  When I was learning C, I was taught to *always* use brackets, even
> when they weren't necessarily, specifically to make it easier to expand:

I've never understood people who are religious about that.  It's the
same amount of effort whether you do it when you first write the if,
or when you add something to it (ie, minimal).  The only difference I
see is that if you _don't_ later add something to the if, you've
wasted that effort.

-- 
Alan Shutko <ats@acm.org> - I am the rocks.



Reply to: