Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2021
    Location
    Bangalore
    Posts
    761

    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.

  2. #2
    Registered User
    Join Date
    Oct 2022
    Location
    California, USA
    Posts
    37
    What is the difference between a formatting error and a syntax error? Compilers typically do syntactic then semantic processing of program source code. Is a formatting error a semantic error? Probably not. Format sounds more like syntax. Also, I think spelling mistakes would be caught by the compiler's syntactic processing, but I have not written a compiler.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.