Skip to main content

Questions tagged [mistakes]

-1 votes
2 answers
264 views

I recently had a project that I took me 4 months to do , I hit some very significant bugs that where impossible to track down. I said this code is absolute garbage and started from scratch, drank a ...
Chris Johnson's user avatar
0 votes
1 answer
123 views

I am curious how others tackle the issue of needing small, sometimes trivial changes in a pull-request. The problem crops up a lot where I work. A developer completes a task and makes a pull-request, ...
qq4's user avatar
  • 117
22 votes
5 answers
2k views

What is the best course of action in TDD if, after implementing the logic correctly, the test still fails (because there is a mistake in the test)? For example, suppose you would like to develop the ...
Attilio's user avatar
  • 487
1 vote
4 answers
266 views

In the following link, the author states that We have already reasoned that ‘out’ is a static variable belonging to the class System. But now we can see that ‘out’ must be an instance of a class, ...
Jossie Calderon's user avatar
1 vote
3 answers
623 views

I had this crazy initialisation -- documentList = new ArrayList<Map<String,Integer>>(); which I intended to store a new map everytime in a loop but unfortunately put itself inside the ...
Shashank Sabniveesu's user avatar
5 votes
5 answers
3k views

This isn't a rare case and occurs with me often and I spent countless time trying to debug the code. Latest example, this PHP code where I used $email for the parameter and for object as well. ...
Shubham's user avatar
  • 723
6 votes
7 answers
4k views

After developing a website for a client, I've realized that the load time is too extreme, and some changes need to be made. The extreme load times are attributed to the bloated css/js frameworks that ...
MikeTheCoder's user avatar
4 votes
2 answers
208 views

I very often find myself in situations where I should have opened a parentheses, but forgot and end up furiously tapping the left arrow key to get to the spot I should have put it, and doing the same ...
mowwwalker's user avatar
  • 1,159
4 votes
5 answers
623 views

I make a fair amount of small mistakes when I code (things such as getting an angle bracket to the wrong direction). It adds a fair amount of time to my coding because I have to debug several times ...
Tom Squires's user avatar
  • 17.8k
15 votes
6 answers
1k views

Sony was recently hacked with a SQL injection and the passwords of their user's was stored in plain text. These are rookie mistakes. In such a large company, how does this pass QA? How do they not ...
richard's user avatar
  • 3,335
29 votes
49 answers
12k views

All programming languages are having their design flaws simply because not a single language can be perfect, just as with most (all?) other things. That aside, which design fault in a programming ...
37 votes
13 answers
33k views

After reading this famous rant by Linus Torvalds, I wondered what actually are all the pitfalls for programmers in C++. I'm explicitly not referring to typos or bad program flow as treated in this ...
Felix Dombek's user avatar
  • 2,139
5 votes
2 answers
8k views

I've ran into several oddities using javascripts floating point arithmetic, but I can never recall them off the top of my head! What are some common mistakes when using JavaScript to do math?
Derek Adair's user avatar
20 votes
30 answers
4k views

Please, explain why and list which languages have the (mis)feature implemented As far you know. Post what you consider a harmful feature, not what you dislike.
101 votes
61 answers
20k views

To put it another way... What is the most commonly held and frustrating misunderstanding about programming, you have encountered? Which widespread and longstanding myths/misconceptions do you find ...

15 30 50 per page