| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 8 months |
| seen | 7 hours ago | |
| stats | profile views | 4 |
|
May 21 |
awarded | Enthusiast |
|
Feb 27 |
awarded | Caucus |
|
Dec 10 |
awarded | Analytical |
|
Dec 5 |
comment |
Is “watermarking” code with random trailing whitespace a good way to detect plagiarism? It's a good way to prove that code was copied, but not a good way to prevent any but the most amateur coders from copying it. When I worked as a teaching assistant and had to grade lots of students' code, we used this as one of several ways to detect code theft. (In this case, cheating off other students - they tend to be very bad about leaving extra whitespace all over the place.) I can't imagine that it'd be much use outside of an educational setting though. |
|
Nov 21 |
comment |
Is there an excuse for short variable names? If I saw dDinnerAperture by itself, I'd read it as "Dinner Aperture", and wonder if it's just a funny way of saying "your mouth". Never been a fan of the "capital letter followed by lower-case word) style. Very confusing sometimes. |
|
Oct 18 |
comment |
Why use other number bases when programming 26 x 2 + 10 = All capital and lower-case letters and all numbers. Not really that unusual. I've also seen Base 36 used, which is just the non-case-sensitive version of same. |
|
Oct 9 |
awarded | Teacher |
|
Oct 9 |
answered | Which order to define getters and setters in? |