Slashdot Mirror


User: VG_slash

VG_slash's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Direction on Debris is Shuttle's Biggest Threat · · Score: 1

    Isn't everything IN ORBIT going in approximately the same direction at approximately the same speed? Incoming meteorites are not in orbit so I can see why they are a threat.

  2. Coding comments on What is Well-Commented Code? · · Score: 1

    I always wondered why the Software "AllClear" has not been used to comment code. It has a pseudocode language that is used to create flow charts. Looping and other standard constructs are there. Very simple really, a period at the end of a line indicates that the line is a statement, for example.

    By creating the flow chart for your code with that pseudocode you have a verifiable set of instructions that can be turned into comments by simply adding a "this is a comment" string in front of each line with a stream editor.

    Then you can build the code needed to implement the pseudocode between the appropriate comments.

    Later, you can always add comments or extract the comments at any time (think grep) and recreate the flow chart to check (or figure out, if its someone elses code) what is going on.

    VG