I have read some developers quoting GoHorse value in their comments; mostly in javascript. It is mostly constant and long value.,
I am unable to understand; what it mean to Gohorse?
var a = 8888888888888; // GoHorse
Code comments are useful for several purposes. A code comment can… explain something which might not be obvious to the reader clarify your intention behind a certain line or block of code serve as a reminder to change something in the future. Code commenting also becomes invaluable when you want to ‘comment out’ code.
We were also taught that there is a correlation between code quality and the number of comments a code has — the more comments you have, the better your code is. We were trained to believe that comments tell the story of the program we write, and that they express whatever code can’t provide.
This is when you turn a block of code into a comment because you don’t want that code to be run, but you still want to keep it on hand in case you want to re-add it. The syntax for code comments differs between coding languages.
Long comments Long comments that are used to describe every decision you’ve made. These comments may explain each line in detail: why you chose to write it that way, what were the alternatives, what is the code history that led to it. It made it really hard to read the code fluently, and it can cause the reader further confusion.
The Go Horse Process is like a horse race:
You line up on the start, then BAM! you're racing down the track, without looking up (or, in fact, any direction), just hurry to finish before the deadline.
It is simple: Does it compile? ==> Task done.
See 1: https://gist.github.com/banaslee/4147370#file-xgh-en-txt
See 2: https://www.facebook.com/gohorseprocess.extremegohorse
Note: This is some kind of joke, of course, a funny name like spaghetti code, for a bad-bad habit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With