candied_orange
  • Member for 4 years, 7 months
  • Last seen more than a week ago
Teaching the humble for loop
Accepted answer
26 votes

I know I'm coming late to this party but this is a really good question and I think it deserves a really good treatment. The original for loop, the one with the semicolons in it, is amazingly flexible,...

View answer
How should floating point inaccuracies be explained and justified?
9 votes

A few points: Do not call the discrepancies rounding errors Do not confuse students with epsilon math Do not obsess on teaching them exactly how IEEE floats are stored Do not show them examples of ...

View answer
Encourage students to learn and use advanced design
Accepted answer
4 votes

The most fundamental shift in my programing came from my attitude about details. When I was young I wanted to pull every detail out of everything I touched, pin in down in front of me in one source ...

View answer
A beginner example of xor, that is functional (does not switch to procedural)
3 votes

Say I’ve got two coins. They can each take on two states (heads or tails). Flip em both; xor can tell you if they are different (not-equal). The name has exclusive in it because when xor is yes/1/...

View answer
Should I start out as a “junior developer”?
2 votes

Feature building is a junior developer job. It's also a senior developer job. Feature building is part of any developers job. QA is testing of those features. If you become a QA specialist you won't ...

View answer
What's a good unit testing assignment for Android?
Accepted answer
1 votes

Tic tax toe. Begin game. Test model state is:  --------- Move(x, 1, 1). Test model state is:  ----x---- Scoring bowling. Begin game. Test score is: 0 knock down 3 pins. Test score ...

View answer
Answering “How is this useful to me?”
1 votes

The best answer to this is an honest one. "We don't know" But say that with a big smile on your face and enthusiasm in your voice. How you might use this is a big mystery. It might be it gives you ...

View answer