prog: (Default)
[personal profile] prog
These questions aren't language-specific; consider the questions as pseudocode. Pretend that the underscores are actually studlyCaps if you'd like.

Also, don't worry about return values of the mutators, which is a separate question.



[Poll #875101]

Date: 2006-11-26 04:26 pm (UTC)
From: [identity profile] chocorisu.livejournal.com
Explicit set/get to be clear and unambiguous. But make sure they ONLY get/set and don't do potentially length calculations: anything that does more than a tiny bit of arithmetic should be named something else to make it clear that it's actually doing some work.

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 26th, 2025 01:21 pm
Powered by Dreamwidth Studios