• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hidden Comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hidden Comments


  • Subject: Re: Hidden Comments
  • From: Kevin Fowler <email@hidden>
  • Date: Fri, 8 Jun 2001 05:07:46 -0700

The worst /*comments*/ are the one's that were conscientiously created and
of high quality but not maintained as the code changed underneath. Its like
gran'pappy telling you "how things are."

That's where ProjectBuilder's integrated comment-hiding technology comes
into play: turn syntax coloring & separate fonts on in PB preferences then
pick a really tiny font (say 1pt) and set its color to the background color.
Poof! They're gone. If only this feature was exposed via AppleScript...

It would be nice if PB had "style favorites" so you could quickly go back
and forth between color schemes for Java, C++, ObjC, Monday, Tuesday,
whatever.

--Kevin


On Friday, June 8, 2001, at 04:00 am, email@hidden
wrote:


> I wish more tools allows you to toggle the visibility of comments. The
> biggest complaints I hear about comments are "comments are tedious to
> write", "comments are hard to maintain", and "comments interfere with
> the readability of the code". If the content of comments were a bit
> more interesting (say, as described above), that takes care of the first
> two; the third is best taken care of at the tool level. I've used tools
> that allow you to hide blocks, or to auto-hide comments, but I can't
> seem to find one on OS X, yet.
>
> Russell Ahrens
> Oink Industries


  • Prev by Date: Re: Compositing text onto an NSImageView
  • Next by Date: Re: Pascal compiler for OS X/Cocoa?
  • Previous by thread: Re: Clever question on Localization
  • Next by thread: NSSavePanel with a Sheet, strange callBack definition
  • Index(es):
    • Date
    • Thread