Answer the question
In order to leave comments, you need to log in
How important is it to write concisely?
I study Japanese, I do all sorts of tasks. looking at the solution of one of the tasks (from another user), I realized that this is all done easier (without if'a and another). It is clear that this is typical for beginners, but I want to know if the execution of the task is considered alternatively (more code, slightly complicating) as an error? or is it just a regular govnokod ? (I'm afraid to continue to do so)
Answer the question
In order to leave comments, you need to log in
Write clearly. Laconicism is good, but with some designs it simply blows the mind.
It does not count as an error . But shitcode is shitcode - with all the consequences (more difficult to extend, maintain, etc.)
However, there is no clear line between shitcode and pure code. It's good to strive to make your code cleaner, but you also have to pay for it. Even the pros are forced to spend more time and effort to make the code concise, clear and beautiful. So sometimes you even need to write shitty code. Sudden opening? :) For example, when you want to quickly check something for yourself or go through some data with a script once.
How important is it to write concisely?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question