Reputation
32,644
Next tag badge:
108/100 score
19/20 answers
Badges
8 65 124
Newest
 Good Answer
Impact
~1.5m people reached

Jul
26
awarded  Good Answer
Jul
26
comment How do you explain a 'statement' in programming?
Addressing the statements to "program" is confusing. The statements are the program; expressing them in English as "program, add 5 to that integer" gives the impression that the program is something separate from the statement.
Jul
26
comment How do you explain a 'statement' in programming?
Why do you call expression statements "degenerate"? In C-like languages, expression statements are one of the most commonly used kinds of statements.
Jul
25
awarded  Nice Answer
Jul
25
comment How do you explain a 'statement' in programming?
Seems like a fine way to explain the difference between a statement and an expression, but it begs the question: What's an expression?
Jul
25
revised How do you explain a 'statement' in programming?
deleted 6 characters in body
Jul
25
comment How do you explain a 'statement' in programming?
First line isn't quite right. Most languages contain empty statements which may not result in any instruction being executed, but which are nevertheless valid and useful statements. More important: a statement doesn't tell the application anything; the application is composed of statements that become instructions to the processor.
Jul
25
reviewed Approve How do you explain a 'statement' in programming?
Jul
25
revised How do you explain a 'statement' in programming?
deleted 13 characters in body
Jul
25
revised How do you explain a 'statement' in programming?
added 465 characters in body
Jul
25
revised How do you explain a 'statement' in programming?
added 465 characters in body
Jul
25
answered How do you explain a 'statement' in programming?
Jun
23
comment How safe is it to compile a piece of source code from a random stranger?
Any program can be made to break given the right input. False. A typical Hello, world! program doesn't read any input, and therefore no input will cause it to break. And while it may be true that most nontrivial programs probably contain bugs that could cause them to break, you really can't make a blanket assertion like that.
Jun
7
reviewed Reject Difference between a socket and a port
Mar
25
comment Using advertising with free app is a commercial app?
It's not a coincidence that another word for advertisement is commercial.
Mar
13
awarded  Yearling
Jan
21
revised Should a scrum team estimate time for the user stories during Sprint Planning, or before it?
added 32 characters in body
Jan
21
answered Should a scrum team estimate time for the user stories during Sprint Planning, or before it?
Dec
20
comment What is a closure and how is it implemented in Ruby?
@raptortech97 It's actually "a little more" than a link only answer, where the "little more" is a concise explanation of what a closure is and how that relates to Ruby.
Dec
15
comment Should I give the answer to a failed interview coding exercise?
@user1172763 That's the point -- unlike FizzBuzz, the OP's interview question can be answered with a single calculation. It is therefore a poor choice if the point is to see whether the candidate can write a loop. You can't expect a candidate to choose a slower, far more verbose solution on the assumption that you're asking the question for a specific (and unstated) reason. Indeed, the interviewer could easily be a "trick" question to see if the candidate notices that looping is completely unnecessary. Reading your mind is not the candidate's responsibility.