Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[OT] Re: how to tell if an open file has been removed
On Wed, 15 Dec 2004, Randy Howard wrote:

> In article <Pine.LNX.4.60.0412091344190.21479@harp.ngdc.noaa.gov>,
> Ara.T.Howard@noaa.gov says... 
>
> You do realize that indent supports command line parameters and
> configuration files so that you can change the default behavior to one tha
t
> makes more sense?

yes.  exactly my point.  it's so EASY to reformat c code to whatever your
fancy that it's inane to complain about formatting.  in vim (which my mailer
uses) a 'shift-v, shift-g, !indent' does the trick.  my experience is that
coding styles can be adapted to quite quicky no matter how 'different' they
might seems at first.  what matters is not the style per se but the
consistency.  formatting code by hand is simply evil for this reason.  do wh
at
you like - but do it automatically.  anyone that has ever scripted massive
code modifications or generation can attest to the value of this.  in genera
l
i've found that styles that promote ease of cutting/pasting (without creatin
g
bugs due to dropped braces) and searching to be the best.  readability is
learned quickly - generally in under two days - so what 'makes sense' in my
opinion is using a style that reduces bugs.  i think that what 'makes sense'
for usenet is to post using the most recent version of the most common
formatter available without switches or configuration files (yes i do use
one myself) because nothing else, in my mind, can possibly be considered any
sort of 'default'.

kind regards.

-a
--
 ========================================
====================================
===
| EMAIL   :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE   :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself.  --Shunryu Suzuki
 ========================================
====================================
===

Report this thread to moderator Post Follow-up to this message
Old Post
Ara.T.Howard@noaa.gov
12-15-04 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Unix Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:42 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.