473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

A documentation question

Hi y'all,

Generally speaking, comments beginnng with /// are destined for help files
and those that begin with // are just inserted comments. I surmise that
problems would arise in help file generation if all comments begin with ///.

This is ok, if true. Unfortunately, where I have a lot of // code comments,
I cannot minimize them unless I surround them with a region, not something
that is practical. This is something I would like to be able to do, but
alas...

Are there any opinions on the bast way to document code?

Thanx,
Bill
Nov 16 '05 #1
2 943
Perhaps a better way to state this is:

What is the differences between /// and // and how should they be employed.

Thanx,
Bill
Nov 16 '05 #2
Bill,
I've always used /// to document methods and properties for the outside
reader, someone who is going to use the methods or properties. I use // to
document code in-line, something that will help someone (including me) to
understand why I did something a particular way.

--
floyd
"web1110" <we***@comcast.net> wrote in message
news:cZ********************@comcast.com...
Perhaps a better way to state this is:

What is the differences between /// and // and how should they be
employed.

Thanx,
Bill

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: BoonHead, The Lost Philosopher | last post by:
Does anyone know how to implement internal interface documentation for functions and parameters? I found a similair thing for proerties. For properties I found something like:...
1
by: Burkhard Perkens-Golomb | last post by:
Hi, I've a question about XML documentation of overridding methods and methods implementing an interface declaration: These methods are normally documented in the base class or interface. So I...
1
by: Andy | last post by:
This is not exactly a programming question, but I was looking for the documentation for visual C++.net online and was wondering if there was some all powerful pdf i could download that is...
2
by: Joe | last post by:
Dear all, I want to learn something about writing documentation before and after writing aspx, but i have no idea how to write, any idea how to learn
97
by: Cameron Laird | last post by:
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which...
2
by: Tim_Mac | last post by:
hi, i have VS2005 professional, and i would like to generate a complete documentation reference for all the classes in my web project. i would have thought this was as simple as a button or build...
10
by: Lloyd Dupont | last post by:
Let say I have 2 methods: void BeginGroup(); void BeginGroup(string msg); when I want to refer to them I write /// <see cref="BeginGroup"/> But this cause a compiler warning, where my...
34
by: nicolasfr | last post by:
Hi, I am a bit disapointed with the current Python online documentation. I have read many messages of people complaining about the documentation, it's lack of examples and the use of complicated...
3
by: Michelle | last post by:
Hi... Please forgive the slightly less than focussed post, but I couldn't find another place to post this question... this is an open question to people who do software and/or Enterprise...
1
by: Eric Sadoyama | last post by:
I have a database documentation question, but I am not even sure how to phrase it properly so I don't know where to start looking for answers. We are developing a database that is based on...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.