News for hackers. Stuff that matters.
Re:Interviewing programmers: coding test example explained by jemfinch on Thursday June 03, 2010 @11:12AM (#1401513)
In that case, I'd suggest `p_rd` (well, IMO, just `rd` would suffice) and `p_wr`. Then they're both fairly unambiguous abbreviations.
Re:Interviewing programmers: coding test example explained by dkersten on Thursday June 03, 2010 @01:58PM (#1401976)
I think p_wt is better than p_wr. Honestly though, aligning the length of variable names is, in my humble opinion, retarded - he should have went for p_read and p_write.
Re:Interviewing programmers: coding test example explained by nickelplate on Thursday June 03, 2010 @02:25PM (#1402049)
"aligning the length of variable names is, in my humble opinion, retarded"

I feel the same way.

Re:Interviewing programmers: coding test example explained by ori_b on Thursday June 03, 2010 @02:48PM (#1402118)
I'd probably go with just 'r' and 'w', or 'src' and 'dst'