What to do to learn proper metodology from a non -informatic background. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What to do to learn proper metodology from a non -informatic background.

Hi all! I am a matematician that is working on daily basis on programmation. My google-fu (and stackoverflow) is fine for what I need, but my codes are often slow, ugly and difficult to expand and understand. I know i need to do more documentation and commentation, but I feel like I need some rigorous basis. Do you have any tips or advice in regard? Thanks in advance!

3rd May 2019, 9:09 AM
BayesianPhoenix
BayesianPhoenix - avatar
1 Answer
+ 2
1)Normally most of modern programming languages have a guidelines, best practices how to write good code. 2)Most of OOP languages have a list of common used patterns, it is always good to check them and try out. It helps to structure your code and explain it, if you use a factory or singleton pattern, most of other programmers wil understand what are you doing. 3)There are a few different principles or paradigms like SOLID or GRASP it is better to be atleast familiar with them. Main point is not to try to design ideal code from the begining, but solve the problem, then you can refactor (another thing to checkout)your code to something more goodloking.
3rd May 2019, 11:45 AM
Dima Makieiev
Dima Makieiev - avatar