7,311 reputation
1838
bio website kohne.org
location North Wales, PA
age 45
visits member for 3 years, 9 months
seen 2 hours ago

Embedded Software Developer


2d
comment How do you deal with clients asking for manual data edits in the database?
You can refuse. And you can be fired. They need the data fixed because they need to run the business. What you need to do is to convince someone in a position to direct development that these interruptions are costing more than just fixing the thing would cost.
Jul
22
comment Is “continue” and “break” in loops antipattern/bad practice in Java?
@kevincline - Right. But if you've got a long loop body, you've ALREADY got a problem. Even without continue, a long loop body is hard to read. I'm saying that with a short loop body, continue can be used in a readable manner.
Jul
22
comment Is “continue” and “break” in loops antipattern/bad practice in Java?
@CsBalazsHungary - If your loop body is long, and sprinkled with several continues and breaks, it will CERTAINLY hurt readability. But if you keep the loop body short and are careful how these things are used, then it's no problem to use them while keeping code readable. As usual, it's a balance that you have to strike for your code.
Jul
16
comment Static vs. non-static? (with non-OOP functions)
Note that in certain historical scenarios (I'm thinking early days of the PC with segment registers, and all that they imply), making the function static to a file might allow the compiler to use a nearer form of jump to get to, therefore shaving a byte or two, and perhaps a cycle or two on calls to the function.
Jul
13
comment How to handle divide by zero in a language that doesn't support exceptions?
@Philipp - One thing about IEEE 754- there's few enough professional programmers that really understand it (I certainly only know the most basic things about it), and if the language is intended for non-programmers, 754 is probably too much to ask of them. In fact, I'd go so far as to advise that any language targeting non-programmers provide a decimal representation for numbers instead of the base-2 representation that most of us use for floating point - it's got issues of course, but it leads to less surprises for the unwary.
Jul
11
revised How to name filename parameter to make clear it should contain full path?
Removed shortened URL
Jul
11
revised What does a code review look like?
Unshortened URL
Jul
11
revised Why do good programmers have ugly websites?
added 84 characters in body
Jul
11
revised How would you rank these programming skills in order of learning them?
Unshortened URL
Jul
11
revised Are separate parsing and lexing passes good practice with parser combinators?
added 22 characters in body
Jul
11
revised Is this a viable approach to resolving multiple matches in a lexer?
Unshortened URL
Jul
11
revised The inheritance argument of zope.interface (providedby vs isinstance)
Unshortened URL
Jul
11
revised What happens to programmers most oftenly while reading the code of others?
Unshortened URL
Jul
9
comment How can I close my Open Source project and what is required from me in order to make it closed source?
@ErikR.Yverling - If you do take a GPL project private, realize that there will be some amount of backlash from any community you've got around the project. People tend to get seriously worked up when this kind of thing happens.
Jul
9
comment How can I close my Open Source project and what is required from me in order to make it closed source?
@ErikR.Yverling - If you distributed the binaries at any point, then you have an obligation to provide source code to anyone you distributed the binaries to for some period of time (see the actual text of the GPL for details). You do NOT have an obligation to distribute the source beyond the people you distributed the binaries to.
Jun
24
reviewed Leave Closed Why Perl is appropriate language for CGI?
Jun
24
reviewed Leave Closed Pair-programming and company privacy guidelines
Jun
20
comment Is the GPL dangerous to the organisation in terms of exposure of its intellectual property?
The consequences of the GPL license have been discussed before. The best thing is to actually READ the license. It's language is somewhat annoying, but it's readable enough.
Jun
19
answered When should the programmer's spoken language be used during development?
Jun
17
comment How to minimize typos when you code?
Emphasis on the 'wisely' here. Auto-complete is a great way to speed things up, it's also a great way to call the wrong methods, use the wrong variables, and generally make hash out of your code.