0
Im a beginner at coding and i would like some tips on how to write my own codes...
3 Antworten
+ 2
I will first suggest you to complete the course provided by sololearn so that you may know well about basic . And solve code coach problem so that you may practice logical things .
+ 2
nduduzo I agree with TR CodeWorld [AYUSH.ks] as PHP is a good language but you really should complete the tutorial and also I would recommend reading through the following website for those using PHP... https://www.php.net/
btw here are some tips for beginners
thanks and happy coding
https://www.sololearn.com/discuss/1279367/?ref=app
https://www.sololearn.com/discuss/1014184/?ref=app
https://www.sololearn.com/discuss/1100174/?ref=app
https://www.sololearn.com/discuss/461896/?ref=app
0
-Write your codes in a way that it will be easier for you to read in future. Use comments in your code
-Do not re-invent the wheel. Check the language documentations for how something is done rather than creating your own function to solve the same task
-Respect people's work and give credit to other coders if you are using their code in your projects
-Don't repeat yourself(DRY). Always try to implement a feature with as few codes as possible. Save the user bandwidth and save yourself time.
-For PHP best practices
https://phptherightway.com/
-For PHP Documentation
https://www.php.net