Additionally, don’t copy and paste anything until you understand it. If you don’t understand what code golf is being spewed, don’t take the top answer. If you don’t understand any answer, you probably don’t understand the underlying systems well enough and need to re-evaluate what your asking for.
The only difference between a novice and a professional is that a professional checks what they are copying to understand it first before allowing it into their codebase.
Novices copy code to avoid having to understand it. Professionals copy code to avoid reinventing the wheel.
Additionally, don’t copy and paste anything until you understand it. If you don’t understand what code golf is being spewed, don’t take the top answer. If you don’t understand any answer, you probably don’t understand the underlying systems well enough and need to re-evaluate what your asking for.
The only difference between a novice and a professional is that a professional checks what they are copying to understand it first before allowing it into their codebase.
Novices copy code to avoid having to understand it. Professionals copy code to avoid reinventing the wheel.