|
|
|
Ask HN: How to Write Readable Code
|
|
10 points
by marijnz0r
1630 days ago
|
|
Hi HN, I write code and unit tests for other departments in my company. For me, writing code in a programming language feels natural, so I like to use the notation of the language itself. A colleague likes to write code more like prose so someone from another (non-IT) department should be able to read it. How do you deal with this in your company?
I think I read an article about this a few days ago, but I can't seem to find it anymore. Does someone still remember this? |
|
I don’t think the sales guy needs to be able to read channel handling logic or care about how the react code is organized.
Engineers should write good code that can be easily understood and modified by other engineers. Are engineers going to cold call people or run the financials? No their job is to build systems and keep them running.