SteamedPears / Code-Review

A web app for reviewing code (and other text), written in node.js using redis as the persistent store.
http://review.steamedpears.com
ISC License
1 stars 2 forks source link

Code Comment Headers #107

Open cdelahousse opened 11 years ago

cdelahousse commented 11 years ago

I like @spratt's proposal.

https://github.com/CarletonU-COMP2406-W2013/Steamed-Pears/wiki/Coding-Standards#javascript-1

The only thing I disagree with is having an asterix on the far right of the text.

/****************
* Blah blah     *  <= this 
****************/

I think it's annoying, it's a bitch to adjust and makes modifying the headers more difficult.

/****************
* Blah blah 
****************/

Ahh.... Much better.

spratt commented 11 years ago

I wrote a script in emacs that closes mine. I suspect you could do the same in vim.