5,916 reputation
1428
bio website
location
age
visits member for 4 years, 6 months
seen 17 hours ago

Mar
24
comment Turn away a bug if no reproducible test case exists?
@seansilver: If it's a real bug, it'll turn up again. Otherwise, if you can't narrow it down, you're going to be running in circles.
Mar
24
comment Turn away a bug if no reproducible test case exists?
+1: I don't know how these other people fix things...
Mar
24
comment Turn away a bug if no reproducible test case exists?
Seriously? "I had a bug, and I can't replicate it! Fix it!!!" And your response is to do...what? If it can't be replicated, by the customer or the programming staff, how can it be fixed?
Mar
24
comment Why bother with detailed specs?
@nikie: I'm certainly glad that all your bosses and customers are willing to bow down to your holy judgement about what features are to be allowed in the software that you are graciously designing for them. Indeed I am so inspired by your disdain of design documents, that, from now on, I am only going to design pong-clones, and tell them that that is what is specified by the seeecret design document that I keep in my head.
Mar
24
comment Why bother with detailed specs?
@nikie: Must be nice.
Mar
24
comment Why bother with detailed specs?
@nikie: Tell it to the Duke Nukem design team. You have to deal with QA, marketing, phbs who read too many magazines...It still matters.
Mar
18
comment Harmful temptations in programming
In my environment, there are two major sites. Either one can originate a request for code, but the code will end up being deployed to both. They're different enough that you have to tune the code a bit for each...The practical result is that one site always gets beta code, and the other site always gets polished code, but then we never have time to migrate the polish back to the other site. I have had a number of people complain about our "uneven" code, or alternately, people at one site complaining about a program that people at the other site think is perfect.
Mar
17
comment Are `break` and `continue` bad programming practices?
@sjoerd: What it does is tell whoever is reading the code that the break conditions aren't in the loop header. It's not ideal, but it's functionally identical to the original posters code.
Mar
16
comment How was programming done 20 years ago?
@slomojo: In 1991? You know the first NT windows came out in 1993, right? Netware was popular until NT 4 started gaining traction in the late 90's. Of course, proprietary Unix crushed both of them in terms of usage, but still.
Mar
15
comment How was programming done 20 years ago?
@Thorbjørn : We had the coffee pot cam! And usenet! What else do you really need? Honestly, from my recollections, it wasn't that much of a problem. The need for web documentation has increased with the complexity of the stuff you're creating. If you were hammering together an accounting application with a text gui, you didn't need much documentation.
Mar
15
comment How was programming done 20 years ago?
@tmn: Heh. I don't like those either, for pretty much the same reason...Of course, I don't need to use them either, not being a web guy. 4GLs were worse though, because they were proprietary. Support cost a fortune, and if you didn't have support, you couldn't upgrade. I looked into a new license for ours a few years back, so I could migrate everything to a new server environment, and the license ran 150k! Per site! The COBOL I could migrate for free, and the databases only required some $500 interface. Whole project shut down because of that goddamn proprietary 4GL environment.
Mar
15
comment How was programming done 20 years ago?
Goddamn 4gls. I used one (Speedware) YESTERDAY. Why anyone ever thought that was a good idea is beyond me, but all my predecessors put untold man-hours into coding unsupportable 4GL code, and every now and again, I have to tweak something in the system. Talk about a useless skill.
Mar
4
comment What do you do when you encounter an idiotic interview question?
@carson: The worst I ever experienced was with some consulting company in New York City...They told me that an efficiency expert had told them their productivity would go up 20% if everyone used their mouse with their left hand ONLY, and that, should I be lucky enough to be offered the job, I'd have to learn this "skill". Needless to say, I didn't stick around.
Mar
3
comment Stuff you should have learned in school but didn't pay attention to at the time
@mark: "Cognitive Science", which was my original major, is basically nothing but AI, and largely comprised of philosophy. There are two kinds of philosophy: analytic and continental. All the stupid shit is continental. Analytic is logic, cog. sci, linguistics and shit like that.
Feb
28
comment Is writing comments inside methods not a good practice?
I do a lot of financials programming, and as a result, a lot of my methods are just math equations. Every single one of those needs to be exhaustively commented.
Dec
28
comment Advice for good web server development setup
@tmn: Eclipse at least has PDT (eclipse.org/pdt) which does pretty well for php. I've never been all that happy with the web design tools, but, really that's not the programmers problem ;)
Dec
22
comment Do you actually write 'clean code'?
@stargazer712: I hate php's functions because of the lack of defined namespaces. Inevitably, reading someone elses code, they have one "include" at the top, which itself includes 5 other things, which each include 4 more, and then I have to do a search on the entire code base to find the function definition. Very frustrating.
Dec
22
comment Difference between '\n' and '\r\n'
@fredrick: Most monitors these days are LCD, but everything still works on the vertical and horizontal retrace intervals that CRTs needed. It's just not worth it to change: the amount of stuff based on and around it is staggering.
Dec
13
comment At what point during a project is it unreasonable to leave?
@WernerCD: It's just business. I'd give the company I was working for a chance to match the offer, and if they chose not to do that, then I'd shake their hand and tell them I'd be happy to help bring my replacement up to speed, but that they'd have to pay me if they hired him outside of my two weeks notice.
Dec
10
comment Why is cleverness considered harmful in programming by some people?
+1 for maintainability.