Domain: ootips.org
Stories and comments across the archive that link to ootips.org.
Comments · 7
-
Where's the asteroid when you really need one?Just where is the Great Flaming Asteroid of Doom when you really need it?
On the other hand, maybe the current "high" in sunspot activities will lead to a dramatic solar flare ("sun burps"), with the resultant high velocity expulsion of partially digested, beryllium-infused, greenish-tinted solar matter ("sun vomit"). This material and the associated cosmic rays will engulf the international space station and cause strange genetic mutations to the inhabitants. When they return to earth they will each have unexplained "super" powers:
- Gates will be able to control most of the computers world wide
- Simonyi will develop a strange way of computer programming that makes the lines of source code much, much, much longer so that they slide out the right edge of the monitor and go on forever and make life more difficult for other programmers.
-
Re:Question about Hungarian Notation
Hungarian notation puts an unenforced comment into every variable name.
the problem is not when you look at intPositionSensorReading but rather when it has been changed to a decimal, or when you need to change it to a decimal suddenly you are either wasting time editing every piece of code using that variable. or you cause incorrect comments to be all over the code.
IFF VB would enforce and automate hungarian notation as an option it would be useful (i use VB as the example because it is the only place i have run into Hungarian Notaiton)
More HERE -
Re:For OO fans...
Or perhaps this one: http://www.ootips.org/
-
Re:My Conversation with Eric Raymond
Nice strawman.
it is unbelievably disturbing that people like this are placed in charge of leading efforts to make alternatives to windows for non-technical users
ESR isn't in charge of anything of the sort - this is just his opinion on the matter. If anyone is "in charge" of anything, it might be the people running KDE and Gnome. Did you bother to get their opinions on the matter before making your sweeping generalization?
The concept of freely distributable and modifiable code must be seperated from the concept of The Unix Way
Go check up on the number of successful open source Windows on sourceforge and get back to me.
My response: "But Eric, most usability experts recommend you design the interface first and then write the code".
Ever heard of model-view-controller? Those mysterious un-named "experts" are wrong. You can and should design the model before the view/controller. Otherwise your GUI will be built on top of junk.
-
Re:Struts equiv in .Net?Visual Studio
.NET kinda does that, but it seems like there has to be more to it than that. Is there?The advantage of using Jakarta-struts (or any other [good] MVC framework) is that there is no need to waste time reinventing the wheel on handling client request/responses - the framework takes care of all that. Basically you concentrate on the business logic and presentation parts. My original question was if there is such a thing for
.Net.. I'm pretty sure there is, just want to know how MS names that. -
Re:Variable Names
I allways (when applicable) add a prefix to my variables that identifies the type.
Hungarian notation is a bad idea. It's just too common for things to change type. "Oh, I need a pointer, not a reference, to work with that API." "We should use unsigned int for that, not int." "You should use a string, not a char *, for that." And so on. -
Re:"friend" in C++ can *enhance* modularityBollocks.
You don't need "friend" for this -- "friend" is merely a bit of syntactic sugar that people who don't know how to use the Visitor Pattern or double dispatch must resort to to get bidirectional relationships.
In your particular example, you'd want to use a seperate object to represent the borrower-book relationship (likely a State pattern object), have a method in the Book class which registers itself with a Borrower argument (or a BookVisitor argument, more generally), establishing the relationship thusly.
Private members are private for a reason.