13,544 reputation
43759
bio website
location Minneapolis, MN
age
visits member for 4 years, 6 months
seen 1 min ago

May
21
comment Dealing with not knowing parameter names of a function when you're calling it
I think the answer is "Don't name your variables 'deserializedArray'" ?
May
19
comment Should I feel “uncomfortable” using auto in C++?
@ereOn: Using iterators announces that the body of the loop will only deal with a single element at a time, whereas indexing you may use multiple by offsetting the index. Each has its advantages. Additionally, while the performance of iterator vs indexing for vectors is pretty much the same, that is not necessarily true for other containers, where one can be significantly faster than the other. stackoverflow.com/questions/131241/…
May
1
comment How and when should I design a simple mark-up language parser?
@tp1: It's not strictly required. There is a lot of valuable information to be learned from taking a stab at it, and figuring everything out on your own, and having to work through many of the problems that the originators of formal language theory had to work out.
Apr
28
comment How to explain that catch(…) is wrong?
catch(...) like most software constructs, is not inherently evil, only when it is misused.
Apr
26
comment How to make consistent progress towards the goal of becoming better, as opposed to just coding for fun?
The answer is simple: always be working on something that is currently too difficult and is outside your familiarity zone.
Apr
20
comment Do compiler-writers actually need to 'understand' machine code?
I would add there is really no substantial difference between assembly and machine code, conceptually. You are not really going to have much benefit, once knowing how to use a particular instruction, what that instruction's opcode is. If you know how to use MOV, it doesn't really matter if you don't know that it is instruction 27, which I think is similar to what @SK-logic is describing.
Apr
19
comment Why convert to assembly language instead of machine code?
It's worth adding that since assembly language is basically just giving mnemonics to registers and op codes, and is a pretty straight translation between the two, its not like there is any meaningful difference. It's somewhat like asking "why does a newspaper writer delivers a text file instead of setting up the printing press".
Apr
18
comment Encyption for passwords in config file?
@RobY: because then he could not decrypt them and use them to connect. Using asymmetric encryption would require support on the external services end.
Apr
16
comment When is it worth NOT using a Factory?
Don't go crazy and have everything be some super ridiculous abstract system, you'll often be solving non-existant problems and in the process creating new problems for no benefit. Consumers of factories need to know details of the factories too, in many situations using a factory just adds an unnecessary layer of abstraction over the constructor.
Apr
15
comment Are VB.NET and C#.NET projects created from Microsoft Visual Studio “Open Source” safe?
@Magus: that's not strictly true, otherwise GPL software would be forbidden on Windows.
Apr
9
comment Kibibtye or Kilobyte to represent 1024 bytes
"we can't forever be stuck in our old ways". Oh, yes you can.
Apr
2
comment What is the benefit of Continuous Integration over make?
Jenkins is not a replacement for make. It is a complement.
Mar
31
comment When is it beneficial to not use utf-8?
New? 1993 isn't exactly new.
Mar
27
comment Write to stdout and redirect or write directly to file?
I find a lot of the core utils and other commandline software do both, where it by default writes to stdout but provides a parameter to redirect, same with stdin vs input files.
Mar
27
comment Is declaring STL variables in a class definition too revealing?
Then you have to doubly declare all your API methods as well, and cause a bunch of hassle for absolutely no benefit.
Mar
26
comment How to Ignore Bracketing Style in Code Comparison / Diff
Run your code through a formatter before diffing it, that way you can use existing high quality diff tools.
Mar
24
comment Does the GPL allow anyone to obtain GPL software without paying for it?
@RobertHarvey: that is true, however, if the customer distributes the binaries, then they also have to distribute the source.
Mar
1
comment C#/C++ GUI development without drag and drop?
What is with people's beef with graphical GUI editors? GUI is an inherently graphical job, don't be afraid to use a graphical tool. It's not cheating.
Feb
15
comment how much memory should android app use
You're not going to be doing yourself any benefit writing a requirement placing an upper bound on memory usage. If you want them to keep an eye on memory usage, just tell them.
Feb
9
comment How to write an optimal LAN messenger software?
Why don't you just use IRC?