Re:Getters/setters bad?
on
Holub on Patterns
·
· Score: 4, Informative
Holub explains, check the articles on Javaworld (you can find links at Holub.com)
It took some time before Holub convinced me with his articles on Javaworld. But when I was convinced, I looked forward to the release of his book, which I have bought immediately.
BTW. Accessor/Mutator methods aren't bad always though, for example, when you use them to access a non-object-oriented part of your software system (e.g. file system / database / GUI widgets)..
I don't know about you guys, but I have spent quite some time to make my Linux environment, including all the applications I use, fit my needs. Which is perfectly well possible with most (open source) software, by choosing themes, colors, backgrounds, menu-structures, panels, panel-utilities, toolbar-layouts, et cetera.
A lot of (less-geeky) people just can't / won't / should not do this kind of stuff. Therefore, I think this probably a job for the system administrators or distribution makers.
Open source programmers: Just make your program as flexible as possible (Like XUL)!
System administrators (with help of GUI experts) should make the GUI to fit the needs of their specific user group!
I'm so glad you brought the word "goatse" to my vocabulary! I really enjoyed finding out what it refers to! Too bad that goatse.cx doesn't exist any more!
1: "Java people want nothing more for Linux/BSD to become THE OS of choice."
Sure! That's why Java multi platform!;-)
They want Java to be the development platform language of choice!
2: When you (user) choose your platform, you choose your GUI, possibly with a preferred theme.
If you (developer) want your application to be used on different platforms, you must put effort to offer a genuine GUI for that platform, and YES, Java, SWING and SWT will give some help with that!
3: GJC is putting great effort to create a open source Java API. The only thing that is missing (= what is not in their API and no good alternative for), is the complete SWING / AWT packages, mainly because GTK/Gnome and QT/KDE offer Java bindings as well. SWT in combination with the (promising) SwingWT is a good alternative, since it will also run well on Win32 systems.
4: Free Linux distros can't include Sun's JVM, and thereby neither a lot of (free software) Java Applications (at least Swing / AWT based). If people start to use SWT or SwingWT, that will be improved! (These Java apps can even be natively compiled for these distros)
Don't misunderstand me: I love Java and I'm grateful to Sun. But I think it's time for Sun to open things up, before they're put out of the market!
BTW: SWT is one of IBM's Eclipse's sub projects. I never thought Eclipse itself is such a "Sun-blocker", but what about SWT?!:-)
Quite the same as T9 textinput, it's a nice idea to have multiple choices in one view to select the next part of your words / sentences, but I think the interface is a bit uncomfortable.
I've done this too with IDEA cipher. Only my experience was that somehow, when upgrading from 2.4.9 to 2.4.16, there was no backward compatibility.. Could be that I forgot to say yes at 'Use relative block numbers as basis for transfer functions' the first time encrypting, but I can't remember that!:)
BTW check out:
ftp://ftp.kernel.org/pub/linux/kernel/people/hvr
Here you can find some other patches for newer kernels.. up to 2.5.0
I've encryption on my laptop like this:
I've made this small encrypted partition (which could be a file too, I know:), and mount it at boot time to/crypto on my system. In this there's a/crypto/root and/crypto/home/[users] dir-structure.. Whenever I want something to be on the encrypted part (eg. bookmarks / email / my work / icqlogs etc.), I move it and make a symlink from the original place, to the place on/crypt.. This works fine for me..
Holub explains, check the articles on Javaworld (you can find links at Holub.com)
It took some time before Holub convinced me with his articles on Javaworld. But when I was convinced, I looked forward to the release of his book, which I have bought immediately.
BTW. Accessor/Mutator methods aren't bad always though, for example, when you use them to access a non-object-oriented part of your software system (e.g. file system / database / GUI widgets)..
I don't know about you guys, but I have spent quite some time to make my Linux environment, including all the applications I use, fit my needs. Which is perfectly well possible with most (open source) software, by choosing themes, colors, backgrounds, menu-structures, panels, panel-utilities, toolbar-layouts, et cetera.
A lot of (less-geeky) people just can't / won't / should not do this kind of stuff. Therefore, I think this probably a job for the system administrators or distribution makers.
Open source programmers: Just make your program as flexible as possible (Like XUL)!
System administrators (with help of GUI experts) should make the GUI to fit the needs of their specific user group!
No thank you!
:)
For the people who didn't know:
BTW:
"f3789b3c1be47758203f9e8a4d8c6a2a" goatse
Which makes my first post a little bit more ON topic!
I'm so glad you brought the word "goatse" to my vocabulary! I really enjoyed finding out what it refers to! Too bad that goatse.cx doesn't exist any more!
;-)
(VERY NOT!)
1:
;-)
:-)
"Java people want nothing more for Linux/BSD to become THE OS of choice."
Sure! That's why Java multi platform!
They want Java to be the development platform language of choice!
2:
When you (user) choose your platform, you choose your GUI, possibly with a preferred theme.
If you (developer) want your application to be used on different platforms, you must put effort to offer a genuine GUI for that platform, and YES, Java, SWING and SWT will give some help with that!
3:
GJC is putting great effort to create a open source Java API. The only thing that is missing (= what is not in their API and no good alternative for), is the complete SWING / AWT packages, mainly because GTK/Gnome and QT/KDE offer Java bindings as well. SWT in combination with the (promising) SwingWT is a good alternative, since it will also run well on Win32 systems.
4:
Free Linux distros can't include Sun's JVM, and thereby neither a lot of (free software) Java Applications (at least Swing / AWT based). If people start to use SWT or SwingWT, that will be improved! (These Java apps can even be natively compiled for these distros)
Don't misunderstand me: I love Java and I'm grateful to Sun. But I think it's time for Sun to open things up, before they're put out of the market!
BTW: SWT is one of IBM's Eclipse's sub projects. I never thought Eclipse itself is such a "Sun-blocker", but what about SWT?!
One of my favorite tools taking care of things when I'm not around! ;-)
That's where I hide my credit card!
Perfect for passwords too!
See subject!
Quite the same as T9 textinput, it's a nice idea to have multiple choices in one view to select the next part of your words / sentences, but I think the interface is a bit uncomfortable.
I wonder when this trick will be possible with light rays instead of audio waves :)
I've done this too with IDEA cipher. Only my experience was that somehow, when upgrading from 2.4.9 to 2.4.16, there was no backward compatibility.. Could be that I forgot to say yes at 'Use relative block numbers as basis for transfer functions' the first time encrypting, but I can't remember that! :)
r
:), and mount it at boot time to /crypto on my system. In this there's a /crypto/root and /crypto/home/[users] dir-structure.. Whenever I want something to be on the encrypted part (eg. bookmarks / email / my work / icqlogs etc.), I move it and make a symlink from the original place, to the place on /crypt.. This works fine for me..
BTW check out:
ftp://ftp.kernel.org/pub/linux/kernel/people/hv
Here you can find some other patches for newer kernels.. up to 2.5.0
I've encryption on my laptop like this:
I've made this small encrypted partition (which could be a file too, I know