10,483 reputation
42850
bio website
location Minneapolis, MN
age
visits member for 3 years, 8 months
seen 1 hour ago

Jun
1
answered Is this simple XOR encrypted communication absolutely secure?
May
27
comment Should a package manager modify your .bashrc file?
Furthermore, this answer's suggestion to create a wrapper script is the only answer that will work for all shells.
May
27
comment Should a package manager modify your .bashrc file?
@GlenH7: This question is essentially an XY problem: meta.stackexchange.com/questions/66377/what-is-the-xy-problem, where the need for environment variables is the true problem to be solved.
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
19
revised Should I feel “uncomfortable” using auto in C++?
edited body
May
19
awarded  Enlightened
May
19
awarded  Nice Answer
May
19
answered Should I feel “uncomfortable” using auto in C++?
May
12
answered Why is Software Development so far from being an engineering discipline?
May
12
awarded  Fanatic
May
7
awarded  Good Answer
May
7
awarded  Nice Answer
May
7
answered Writing in C for Performance?
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
20
answered Is machine language always binary?
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".