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-25 11:41 pm (UTC)
From: [identity profile] cortezopossum.livejournal.com
I'm somewhat new to object-oriented languages like this (I grew up with super old-skool BASIC and FORTRAN knowledge). I prefer the separate but more readable methods set_foo and get_foo (or setFoo and getFoo .. whatever).

I'd say 'overloading is overrated' but there are times when it's really handy. I'll just say 'overloading is easily abused'.

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 Sep. 2nd, 2025 02:24 pm
Powered by Dreamwidth Studios