[OT] Re: how to tell if an open file has been removed
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > [OT] Re: how to tell if an open file has been removed




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [OT] Re: how to tell if an open file has been removed  
Ara.T.Howard@noaa.gov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-17-04 12:45 AM

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
 ========================================
====================================
===





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:04 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register