554 reputation
210
bio website none
location Calgary, AB, Canada
age 27
visits member for 3 years, 6 months
seen 2 days ago

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".


2d
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 3 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.
Jun
17
comment What can multiple threads do that a single thread cannot?
If the universe is single thread*ed, then what is *string theory? You can't argue with science like this.
Jun
17
comment Are there deprecated practices for multithread and multiprocessor programming that I should no longer use?
I wish you highlighted how important it is to not roll your own structures when ones already exist. So many, so many bugs...
Jun
17
comment What prevents a race condition on a lock?
Thank... God... it's handled in hardware... (or at least a level lower than we touch.)
Apr
2
comment Why have private static methods?
I think you're on the right track, but I also think you're missing a key point. Most static methods have zero side effects (they're effectively functions, not methods) - that's why they're made static in the first place. The argument against them being private is "If they have no side effects, why not make them public to promote code reuse". That's the key point: when we make it private, it's usually because we want you to reuse the entire class that uses that private method, not just that method.
Mar
31
comment Why is CPU cache memory so fast?
@CharlesE.Grant Actually, that's exactly what we've done. Consider modern processors that have anywhere from 1Mb to 20Mb L3 caches. In 1956, the RAMAC had a capacity of 5Mb. Perhaps in another 50 years, our processors WILL have 120Gb of Cache. =)