Most Popular
1500 questions
61
votes
1 answer
Altering author names in MIT license
Some years ago I wrote and released some software under the MIT license.
Recently I noticed that one (or some?) of the forks have altered the leading copyright notice at the top of the license, i.e.
Copyright (c) 2014
MIT…

purplelulu
- 543
- 4
- 6
61
votes
18 answers
Why do people still say Java is slow?
For a long time in SO and in other places Java has the reputation of being slow. From jokes to many comments in questions and answers, people still believe Java is slow based solely on experience with it in the 90s.
This is my issue: we have…

TheLQ
- 13,478
- 7
- 55
- 87
61
votes
2 answers
Writing tests for code whose purpose I don't understand
I recently completed a black-box refactoring. I am unable to check it in, because I can't work out how to test it.
At a high level, I have a class whose initialization involves grabbing values from some class B. If class B is "empty", it generates…
user214290
61
votes
14 answers
Can we make general statements about the performance of interpreted code vs compiled code?
I'm comparing two technologies in order to reach a recommendation for which one should be used by a company. Technology A's code is interpreted while technology B's code is compiled to machine code. In my comparison I state that tech B in general…

EpicSam
- 870
- 1
- 6
- 10
61
votes
4 answers
Is there a good reason to run 32-bit software instead of 64-bit on 64-bit machines?
Is there any good reason to supply a 32-bit version along with a 64-bit version of any software targeted at modern desktop machines, running modern 64-bit operating systems on 64-bit hardware?
It seems that 64-bit software would be more efficient,…

Filip Haglund
- 2,823
- 3
- 16
- 20
61
votes
5 answers
Will a computer attempt to divide by zero?
We all know 0/0 is Undefined and returns an error if I were to put it into a calculator, and if I were to create a program (in C at least) the OS would terminate it when I try to divide by zero.
But what I've been wondering is if the computer even…

Ankush
- 821
- 1
- 8
- 12
61
votes
3 answers
Reusing a merged branch, good practice?
Currently, I used to create a new branch each time I have to add a new feature to my application.
When my feature is finished and functional, I merge it with the master branch.
But later, when I need to update this feature (like an improvement) is…

gaetanm
- 763
- 1
- 5
- 8
61
votes
8 answers
Why do people disable JavaScript?
I asked a question yesterday Should I Bother to Develop For JavaScript Disabled?. I think the consencus is: Yes, I should develop for JavaScript Disabled. Now I just want to understand why users disable JS. It seems many developers (I guess people…

Jiew Meng
- 2,261
- 3
- 20
- 26
61
votes
9 answers
How do you track what you and your team are working on day-to-day?
I'm struggling with how to keep track of what myself and people on my team actually do each day. I get a good broad picture by going over completed cards each week and stand-ups help a bit, but I feel like I don't have a good handle on the…

Brian Brunner
- 702
- 1
- 6
- 7
61
votes
8 answers
Client-side coding: How to prevent malicious use?
Over the last few years, the trend for client-side (browser) applications has really taken off.
For my latest project, I have decided to try and move with the times and write a client-side application.
Part of this application involves sending…

GWed
- 3,085
- 5
- 26
- 43
61
votes
3 answers
Why do JavaScript frameworks/libraries have functions which already exist in pure JavaScript?
I wonder why frameworks/libraries have their own helpers although they exist natively already.
Let's take jQuery and AngularJS. They have their own each iterator functions:
jQuery.each()
angular.forEach()
But we have…

Cihad Turhan
- 673
- 5
- 6
61
votes
7 answers
At what point is version control needed?
I work in embedded systems. Right now, my organization has two full-time programmers and two occasional programmers. It's rare that the same project is worked on by two programmers. All code is stored on a network drive. There are folders for the…

Stephen Collings
- 597
- 5
- 8
61
votes
3 answers
Best Practices To Create Error Codes Pattern For an Enterprise Project
I'm working on an enterprise project which will be deployed in many SMBs and Enterprises.
The support for this project would be struggling and so I want to create a coding pattern for errors (Like HTTP status Codes). This will enable help desk…

Pooya
- 837
- 2
- 8
- 7
61
votes
7 answers
Can too much abstraction be bad?
As programmers I feel that our goal is to provide good abstractions on the given domain model and business logic. But where should this abstraction stop? How to make the trade-off between abstraction and all it's benefits (flexibility, ease of…

Random42
- 10,370
- 10
- 48
- 65
61
votes
6 answers
When to use weak references in .Net?
I have not personally come across a situation where I've needed to use WeakReference type in .Net, but the popular belief seems to be that it should be used in caches. Dr Jon Harrop gave a very good case against the use of WeakReferences in caches…

theburningmonk
- 721
- 1
- 5
- 5