Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Programming General (http://siteownersforums.com/forumdisplay.php?f=44)
-   -   Majority of bugs we face as developers (http://siteownersforums.com/showthread.php?t=982797)

sahithya 10-31-2022 04:28 AM

Majority of bugs we face as developers
 
Let’s go through each one, and discuss a simple way you can fix your code fast!
​​​​​​​
Formatting Errors - These are common and sometimes really hard to notice. Check online if there are linters online or for extensions, whether it’s JSON, HTML, Python, or JavaScript. Some linters may display better error messages than your code editor would alone.

Syntax Errors - For syntax errors, linters also come in handy, but so does referring to the documentation! If you’re pulling code from an outside source, such as for API calls. Simply check that you’re calling it correctly in the first place.

Spelling Mistakes - Not only are these annoying but they can also be embarrassing! If you feel like your code is absolutely correct but it’s still not working, here’s a reminder to check the spelling. Sometimes you add or miss an extra letter and it will throw everything off!

Missing Libraries - How many times have you tried to run code only to realize your editor had no idea how to even run the code? Missing library messages will usually tell you upfront the system has no idea what the heck you’re talking about. BUT, that’s doesn’t mean they can’t be sneaky from time to time. Always double-check to install your libraries whether it’s with pip, npm, bundle, or more.


All times are GMT -7. The time now is 11:34 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.