8,848 reputation
11544
bio website carson63000-tech.blogspot.com
location Sydney, Australia
age 40
visits member for 3 years, 6 months
seen 2 days ago
ASP.NET / SQL-Server developer in Sydney, Australia.

Feb
28
comment What data cannot be compressed by huffman codes?
And if I recall my Huffman implementation from 20 years ago at uni, evenly distributed bytes will lead to each one being encoded into a 9-bit string, right?
Feb
18
comment Why doesn't VB.NET allow unnamed, one-line objects to be used?
I suspect the close votes are because you asked why a language which allows unnamed, one-line objects to be used doesn't allow unnamed, one-line objects to be used.
Feb
15
comment Fixing bugs may lead to delayed feedback
Developing software for the general public doesn't necessarily call for the same approach as developing software for a specific client or set of users.
Feb
11
comment Rejecting time bound programming exercises in interview
+1 for the pithy and wise Every company and project has a level of "good enough" and most are unable to quantify it
Feb
11
comment Rejecting time bound programming exercises in interview
@gbjbaanb: you never get 15 minutes to fix a problem .. indeed, sometimes you get much less time, if a problem is costing thousands of dollars a minute.
Feb
9
comment Better sticking with MDI or learning WPF?
@joshhendo if your first priority is getting it done ASAP, and if you are already experienced in a tech (i.e. WinForms) that can do the job, then yeah, stick with that. But WPF is well worth learning when you have a less urgent project.
Feb
7
awarded  Informed
Feb
7
comment Good idea to put bug numbers in a comment in the beginning of the source file?
@jwenting I've seen questions on this very site from people unfortunate enough to currently be working in shops where that is current practice :-(
Feb
7
comment Is it ever justifiable to write code without tests when doing TDD?
Is it ever acceptable to treat a methodology as a religion instead of a methodology?
Feb
7
comment Why creativity is consider a bad practice by architects?
@RobertHarvey : Consider that most programs are written to solve novel problems - citation needed. I don't believe that statement is even remotely true.
Feb
7
comment Are (mostly) client-side JavaScript web apps slower or less efficient?
It's not necessarily true that a client centric application will generate more network traffic. Requesting JSON and laying it out on the client could easily result in less data sent over the wire than a server sending the data and all the surrounding markup.
Feb
7
answered What's the point of Continuous Integration services like Travis CI?
Feb
6
comment I know what I want to do, but I have a hard time coding it?
Also, if you silently scrawl on the board and make a mistake, there's no way for the interviewer to know if it was a simple transcription error in something you understand well, or whether you're just straight up clueless. By talking about what you're doing, you make it clear that you know what you're doing, even if you miss a minus sign here or check the wrong node there.
Feb
5
comment Coming from high-level to C
I don't think C has been a de facto standard for desktop app development for many years now.
Feb
4
comment How to convince/prove my manager that a rewriting is needed rather than a refactoring
Generally a good suggestion, however the sort of mess that the OP describes is likely to be extremely resistant to automated testing.
Feb
3
comment Should I use automatic properties?
Or to phrase it another way: creating a bunch of properties with public getters and setters may be the right or the wrong approach; but if it is the right approach, then using automatic property syntax to create those getters and setters is definitely the right approach.
Feb
1
comment Can a scrum master reprimand his team?
+1, the first paragraph of this is basically what I was going to say. The role of Scrum Master, and the roles of the developers, are pretty much orthogonal to the hierarchy within the organization. I've worked with scrum masters who were contractors outside the hierarchy entirely. I've worked with scrum masters who were also the manager of the developers. I've worked with scrum masters who were equally senior to the developers but in a separate branch of the hierarchy.
Jan
31
comment Why is it bad to use redundancy with logical operators?
Actually, calling e.g. recordVote(1) will record a Yes vote. You need to use the triple-equals comparison if(YesOrNo === true) to avoid the 1 being implicitly converted to true. :-)
Jan
30
comment Which mathematical properties apply to XOR Swap algorithm (and similar bitwise operator algorithms)?
Great point. The only reason we need to use XOR for this "trick" rather than addition and subtraction is that it cannot overflow, where +/- can, with fixed-size integers.
Jan
30
comment Why should passwords be encrypted if they are being stored in a secure database?
This. "I have other problems if someone gets in my database". It's your database, you expect to have problems if it gets hacked. But by storing plaintext passwords you give all your users problems with, potentially, all their other accounts. How many people do you think really use a different password on every single website?