Skip to main content
Post Made Community Wiki by Sardathrion - against SE abuse

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.
  1. explain the code to the next programmer (if you leave)
  2. explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them).

The second point is most important and most negligiblemostly neglectable by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well..

Plus, isn't programming about making decisions all the time? howHow could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

bestI recommend writing comments (even against the company flow), K because your productivity is somehow depending on it.

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.

The second point is most important and most negligible by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well..

Plus, isn't programming about making decisions all the time? how could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

best, K

In my personal experience, comments are useful in two cases:

  1. explain the code to the next programmer (if you leave)
  2. explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them).

The second point is most important and mostly neglectable by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well..

Plus, isn't programming about making decisions all the time? How could you remember the motives behind a decision if you don't write it down?

I recommend writing comments (even against the company flow), because your productivity is somehow depending on it.

It's a weird post, but making the bullet points work makes it a bit more readable
Source Link

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.

The second point is most important and most negligible by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well.. +

Plus, Isn'tisn't programming about making decisions all the time? how could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

best, K

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.

The second point is most important and most negligible by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well.. +, Isn't programming about making decisions all the time? how could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

best, K

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.

The second point is most important and most negligible by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well..

Plus, isn't programming about making decisions all the time? how could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

best, K

Source Link

Salaam,

//Replying without reading all answers. 

In my personal experience, comments are useful in two cases:

  • explain the code to the next programmer (if you leave)
  • explain the code to yourself (when you are dealing with thousands of files and can't remember the logic behind them.

The second point is most important and most negligible by some companies, thinking they need comments only in case 1, and if that case isn't in their plans then comments aren't as well.. +, Isn't programming about making decisions all the time? how could you remember the motives behind a decision if you don't write it down?

I recommend writing comments /*even against company flow */, because your productivity is depending on it somehow. 

best, K