Whether the code was done with a small number of lines or a lot of lines of code, good clean code should not be measured by the number of lines!
If you produce great code, with few bugs and easy to maintain, it is pretty much all that matters.
Not having the confidence to believe that they can solve the problem for themselves so they go look online or ask another developer before even looking at it themselves.
One of the bigger problems with this is when code is copied from somewhere like StackOverflow and if any problems happen the developer doesn't know how to fix it as they don't understand how it works. …
Whatever programming language or technology you’re using as a developer you will always come across them generic useless error messages. These type of errors are very time consuming when it comes to debugging as often it leaves developers with no starting point.
Names which do not reflect what a function, class or variable is for. This can make the code hard to follow very quickly and can become misleading.
var d = 2;
var myInt = 12;
var message = "An error";
When a project comes in and is needed in a hurry the tests can sometimes take a hit. Developers may get told to write tests latter but more times then not them test never get written. …
Hopefully, there will be at least a couple on the list which you didn't know about!
One HTML element that you don’t see used much at all and for no reason!
<datalist> tag is used to provide an "autocomplete" feature for
<input>elements. You will see a drop-down list of pre-defined options as you type.
<input list="animals" name="animal" id="animal"><datalist id="animals">
<datalist> id attribute (see bold items above) must be equal to the list attribute of the
<input> , this is what binds them together. …