The hacks tag has no wiki summary.
2
votes
1answer
90 views
Approaches to reduce cyclomatic complexity
I was running our code through JSHint, and decided to switch checks against cyclomatic complexity, and then went on long refactoring sprint. One place though baffled me, here is a code snippet:
var ...
1
vote
3answers
231 views
Is the “exposer (hack) pattern” a newly identified pattern or does it have another name?
EDITED FOR CLARIFICATION
In the past, I have seen a whole manner of resolutions and fudges. Some really stand out. One particular resolution that I initially thought of as a fudge possibly deserves a ...
9
votes
6answers
1k views
Where can I learn more about Low Level Programming
So First of all, I did Graduate from a University with a B.S. in Computer Science, and while I feel I got a multitude of programming experience.....I really missed out on the SUPER low level stuff.
I ...
5
votes
5answers
367 views
How do you avoid second-system effect?
http://en.wikipedia.org/wiki/Second-system_effect
The second-system effect refers to the tendency of small, elegant, and successful systems to have elephantine, feature-laden monstrosities as ...
14
votes
9answers
775 views
Good design: How much hackyness is acceptable? [duplicate]
Possible Duplicate:
Prototyping vs. Clean Code at the early stages
I'm right in front of a difficult decision.
I have a problem in my codebase (it's in C++), which I could solve in two ...
48
votes
17answers
2k views
What is a hack?
I often hear co-workers saying to each other, "That's a horrible, horrible hack."
What I can take away from that is that it's not good. When I asked them if it works they say "yes, but it's not ...
5
votes
7answers
444 views
When do code hacks become bad?
When you begin a new project/function/object you mostly have an idea of the model you want to build. It can be based on the clients' wish, on your ideas for the app or whatever. In the middle you ...
11
votes
4answers
3k views
What's your favorite bit-wise technique? [closed]
A few days ago, StackExchange member Anto inquired about valid uses for bit-wise operators. I stated that shifting was faster than multiplying and dividing integers by powers of two. StackExchange ...
8
votes
15answers
657 views
What is the common definition of a Hacker?
I'm wondering if the term Hacker means different things to different people. When most people hear the word hacker what are the first things that come to mind?
4
votes
4answers
430 views
What kind of things can you learn from a guy who only hacks existing code?
At my previous job I was the lead programmer and I worked with this guy who was a self-admitted hacker. We respected each other and had a great relationship. The company was much better off because we ...
8
votes
3answers
159 views
System Decoupled in the Wrong Places: Meta-Problem?
At a meta level, I often find that when I grow a codebase organically, parts of the system that I eventually find need to know about each other (at least through some interface) have been mercilessly ...
7
votes
11answers
748 views
What objections do you have to the term “hacker”? [closed]
I've been of the mind that hacker is just another name for programmer. Not one that you'd use when someone asks you what you do but one that could be used between a brother/sisterhood of programmers. ...