Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is meaning of comment 'Go Horse' in coding? Is it some sort of process?

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
like image 262
fatherazrael Avatar asked Apr 29 '16 11:04

fatherazrael


People also ask

What is a Code comment and why is it useful?

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.

Is there a correlation between code quality and number of comments?

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.

What does it mean to turn a block of code into comment?

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.

What are long comments in a code?

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.


1 Answers

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.

like image 54
Koshinae Avatar answered Sep 17 '22 15:09

Koshinae