644 reputation
310
bio website none
location Calgary, AB, Canada
age 27
visits member for 3 years, 9 months
seen Nov 7 at 20:25

profile for corsiKa on Stack Exchange, a network of free, community-driven Q&A sites

Moderator on sqa.stackexchange - we welcome your QA questions!

Are you a part-time or freelance graphic designer looking for a lightweight project? I'm looking for some sprites :) hit me up at racket.game@gmail.com

Formally known as "glowcoder".

Seasonally known as "corsiKlause Ho Ho Ho".


Nov
6
comment Why do we use non-descriptive internal codenames?
I hope the Gandalf branch isn't the codename for a unit testing framework. Anything run through it SHALL NOT PASS!
Oct
10
comment Algorithms: How do I sum O(n) and O(nlog(n)) together?
Side note: you could use a hash table to do this in O(n) depending on memory requirements.
Oct
4
comment When writing object-oriented code, should I always be following a design pattern?
When you say design pattern, do you mean a named one with a wikipedia page and at least a few experts who recommend using it? Or do you mean your code should be designed in a way that allows it to be patterned after in the future?
Sep
30
comment Is creating subclasses for specific instances a bad practice?
Instead of having an if-else on the type, wouldn't they each just have their own behavior method to be called?
Sep
27
comment Are long compiles a thing of the past?
not just test suites - code coverage analysis, automated packaging, automated deploys to the test system; there's a lot of things wrapped into an integrated build system these days. And if you're on hold until it gets to the dev or qa environment, you certainly have time for a little chair jousting.
Aug
29
comment Why have private static methods?
That's an interesting problem to say the least, but I don't see how it being static makes it any more of a problem than not being static, which is key to this issue. If we follow your logic, everything everywhere would reimplement everything because "omg, what if there's a bug or requirements change someday?"
Aug
27
comment Addressing the fact that primary keys are not part of your business domain
So when you say no business meaning... let's say you have the Order table. When I print a receipt, are you saying if that OrderID value is printed on that record that it's bad? If it's bad, what would you recommend?
Jul
24
comment Why is polling accepted in web programming?
This, a thousand times this. It's accepted because it's usually good enough.
Jul
24
comment Why is polling accepted in web programming?
Longpolling is not without drawbacks. Some IaaS services only permit one simultaneous connection per node. To scale to n users with longpolling, you'd need n nodes.
Jul
22
comment How should I remember what I was doing and why on a project three months back?
@ratchetfreak I was about to say "That's only useful for developers" until I realized that you can apply the same principle to anything. Most document repositories have a notes section or a description; deliverables over email have message bodies (often ignored). Documents can have tracked changes and annotations. There's a whole ecosystem of comments and commit messages in the PM world too! </epiphany>
Jul
21
comment Is it a bad practice to give two very different files with the same general purpose the same name?
Using more descriptive names can be rather annoying though... when you get some_super_long_descriptor_that_needs_more_description.js to set it apart from some_super_long_descriptor_that_needs_more_cowbell.js
Jul
18
comment Should we avoid using design patterns in constantly changing projects?
I read this as "Should we avoid performing time-saving activities in a time constrained environment?"
Jul
15
comment Started wrong with a project. Should I start over?
You're wrong on a couple of accounts. I didn't have a good one, and he was a programmer (although he got his start in Heathkit microcontrollers. Not putting them together, but working at Heathkit designing them.) You're right on the p.eng. designation, though, because the industry has decided that "programmer" and "software engineer" are the same things, despite the fact that they're very, very different.
Jul
15
comment Absolute statements in IT that are wrong
"A good programmer will not be lulled into complacency by such reasoning..." can be generalized to "A good ___________ will not be lulled into complacency"
Jul
15
comment Started wrong with a project. Should I start over?
My father used to tell me "Sometimes you have to shoot the engineers and ship."
Jul
10
comment My father is a doctor. He is insisting on writing a database to store non-critical patient information, with no programming background
@thorstenmüller as an expert on such things, it's definitely cancer, and it's not lupis. That will be $200.
Jul
10
comment How to update a row in database without ID?
If I had a dollar for every int id in my hibernate classes, I could take a small development team out for a nice dinner.
Jul
9
comment Is this a good practice or not?
I confess I didn't follow exactly what was going on, but I'll leave a small piece of advice: if you can't sum up what you're doing in a sentence for purposes of a title and just have to put "this", it's probably not a good practice.
Jun
24
comment Is template “metaprogramming” in Java a good idea?
Robert's comment cannot be overstated. Any time you have a "disclaimer explaining not to modify a file" that is a the "technical debt" equivalent of a check-cashing store run by an illegal bookie nicknamed "Shark".
Jun
18
comment Why was C# made with “new” and “virtual+override” keywords unlike Java?
@Doval objects should be open to extension - they really shouldn't be made sealed by default. With the introduction of the @Override annotation you get a warning if you override something but didn't annotate it as such (and you can make your compiler escalate this warning to an error), and you get an error if you have an @Override annotation but don't actually override. This allows the base developer to make his class open to being overriden (good) and gives the other developer immediate feedback as to if he needs to investigate further. It's win-win.