Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2462
| From | markspace <markspace@nospam.nospam> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: When to use static methods? |
| Date | 2013-01-17 14:02 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <kd9sdk$vf2$1@dont-email.me> (permalink) |
| References | <kd9pmg$dt4$1@dont-email.me> |
On 1/17/2013 1:15 PM, Steve wrote: > > I find static methods to be very convenient when the method doesn't need > stored ( in the class it belongs to ) values. Yup. Use static methods when they are not logically part of an instance. Collect static methods together in a single non-instantiable class when such collections make logical sense. Eschew automated code review tools. Seriously, wtf?
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
When to use static methods? Steve <tinker123@gmail.com> - 2013-01-17 16:15 -0500
Re: When to use static methods? markspace <markspace@nospam.nospam> - 2013-01-17 14:02 -0800
Re: When to use static methods? Lew <lewbloch@gmail.com> - 2013-01-17 15:04 -0800
Re: When to use static methods? Lew <lewbloch@gmail.com> - 2013-01-17 15:13 -0800
Re: When to use static methods? Roedy Green <see_website@mindprod.com.invalid> - 2013-01-17 15:01 -0800
csiph-web