2,535 reputation
1514
bio website
location England, United Kingdom
age
visits member for 2 years, 7 months
seen 21 hours ago
stats profile views 112

Feb
27
awarded  Informed
Feb
26
awarded  Constituent
Feb
25
awarded  Caucus
Oct
21
awarded  Yearling
Sep
5
comment How can I give a basic idea of what I'm working on to a non programmer?
+1 "Explain what you are doing in a way that doesnt relate to code" Exactly right. A non programmer couldn't care about all the finely crafted classes communicating through widget protected global variables and the nest of GOTO statements that you put in to confuse the maintenance group. Explain in terms that relate to their life experience. Anyone can understand "the website is slow and I am making it go faster".
Jul
30
comment Are some NOP codes treated differently than others?
Most times the NOP instruction is used to insert a short delay, usually as a result of some hardware dependency or device errata work around. The performance penalty is the reason for using the NOP.
Jul
17
comment Should you keep a copy of all the code you write?
See this article embeddedgurus.com/stack-overflow/2012/02/… from Nigel Jones who acts as an expert witness in software theft cases.
Jun
1
answered What is the purpose of “re-type your email” field?
May
3
awarded  Great Answer
Apr
17
comment Is it a good practice to use smaller data types for variables to save memory?
@nikie - they might be aligned on a 4 byte boundary on an x86 processor but this is not true in general. MSP430 places char on any byte address and everything else on an even byte address. I think that AVR-32 and ARM Cortex-M are the same.
Apr
17
comment Is it a good practice to use smaller data types for variables to save memory?
When writing for an embedded processor the difference between short, int, long is often going to make a huge difference to whether your application will fit in the available memory. In the embedded world different rules apply. ...And before anyone says that C++ is not used on small processors - my last C++ project had a massive 32K of RAM, before that we had just 2K.
Apr
17
comment Is it a good practice to use smaller data types for variables to save memory?
+1 for the fact that different rules apply to embedded systems. The fact that C++ is mentioned does not mean that the target is a PC. One of my recent projects was written in C++ on a processor with 32k of RAM and 256K of Flash.
Apr
12
answered Why do different languages use different Code Line Delimiters?
Mar
20
awarded  Guru
Mar
15
answered The reason to make some code open source
Mar
15
comment Should I log trivial fixes?
During the early development phase, before releasing a first version out of the engineering team then there is no need to log changes in the bug tracker. The changes will however be noted in the version control logs against each submission.
Mar
15
comment Should I log trivial fixes?
Just because it takes longer to log than to fix is not sufficient justification. Ha! this one had an explanation :)
Mar
15
revised Why are statements in many programming languages terminated by semicolons?
added 1420 characters in body
Mar
14
answered Right Amount of Security on Machine
Mar
14
comment Why are statements in many programming languages terminated by semicolons?
@Travis Christian - Semicolon added :)