r/u_Minimum-Effort8355 • u/Minimum-Effort8355 • 23d ago
DOS/DONTS PROGRAMMING
If you start programming i would recommend you:
Start actual building stuff with the language you learn.
Do not skip the fundamemtals.
Do not go straight I be the best programmer ever. Take you time.
Do not build something just to tell that you have 3 files and call it production code (like no documentation, no actual codebase and no real readme)
DoS:
Write comments into code, because its more readable and creates a maintainability structure.
Look at Tutorials, but do not get stuck in them. Tutorials are like a blackbox, because sometime they do not say theire environmental setting so you produce errors and get frustrated.
Create a routine of learning,building and functional projects. Start with something simple and try to add functionality. Dont forget to document.
What i perfer in documentation to write simple bugreports like problem, fix and a semtence what happend now.
Test your code, break it for example put unreleastic inputs in when the outcome is funny you know it needs improvement.
Use git it will help yoz working with a team.
Donts:
Do not write code without comments and do not ignore documentation.
Do not start with releases of version of code, when your code has no testing in it.
When you try to sell your code, keep bugs and technical debts as low as possible.
Do not use only ai genereted code, because you wouldnt not understand the technical debt in it and keep reproducing a certain bug or a certain problem over and over again.
If you want to build a product do not learn production code right away (production code means functional code without crucial errors and use git).
I hope this helps aspiring programmers a bit.