I don't think there is a simple rule to say when you should use OO, or procedural (or functional programming for that matter). Often it is simply a matter of preferance. However for many situations OOP just seems to fit. There are of course situations where using OO is a really bad idea (acursed JSP's for example).
OO has been around for a while but it only caught on relativly recently. This goes a long way to explaining the lack of consistancy.
But you are violating the Wesly-Demeter Principle blah blah Sounds more like a professor than a programmer.
University education is useful. However it must be combined with actuall experience. That is why most Engineering degrees have a work experience requirement.
Agreed. Though like all programming tools/consepts/languages OO is a good choice is some situations (most in my opinion). A lot of the crap OO is generated by people using OO where it's not appropriate or by using it badly (eg bad abstrations).
"A place for everything and everthing in it's place"
I'm currently at Uni and we've had several large projects with automated test as part of the assesment (some using JUnit).
Last time I checked no-one writes completly bug free code, we had problems with bugs in the tests. I believe this will happen to some extent with any automated tests being used to mark an assignment. Anyway to use something like JUnit to define tests you also need to define all the class's and public methods for the students. This may work fine for comsci101 but at any higher level assignments need to have some design flexibility.
Phage's are not a new means of treatment. They have been used against anti-biotic resistant bacteria in Georgia (the country.. not that place in the US) for some time. The phages cannot survive in humans thats why they are using an enzyme extracted from the phage in this case. I understand the actual phage can only kill bacteria at the surface.
While true there is too much to rember you must know the basics so as to keep the "experts" honest. Anyway, do you really want to create another group of people like layers??
The hypercard scripting langugae (Hypertalk if memory serves) remains the only language I've used, where without a manual you could make a guess at what sounded logical and have valid syntax 90% of the time...
Most people here know that MHz is not a measure of computing power. However many people don't and still fall into the trap. If only for their benifit I hope that the plaintifs wins and Intel is forced to advertise with proper benchmarks.
And now the debate on how to do a proper benchmark begins......
Orthanc
Re:This idea has been around for a long time...
on
Flywheel UPS
·
· Score: 1
Consider your standard car engine. Uses a fly wheel to even out power spikes from the pistons firing. I know this isn't electricity but smae principle applies.
Read the article. WIth the help of a worm hole travel to the past is theoretically possible.
I'm going to travel back in time and steal somones post to get
*pinky to mouth... evil laugh*
1 million karma
I don't think there is a simple rule to say when you should use OO, or procedural (or functional programming for that matter). Often it is simply a matter of preferance. However for many situations OOP just seems to fit. There are of course situations where using OO is a really bad idea (acursed JSP's for example).
OO has been around for a while but it only caught on relativly recently. This goes a long way to explaining the lack of consistancy.
But you are violating the Wesly-Demeter Principle blah blah
Sounds more like a professor than a programmer.
Orthanc
University education is useful. However it must be combined with actuall experience. That is why most Engineering degrees have a work experience requirement.
Orthanc
Agreed. Though like all programming tools/consepts/languages OO is a good choice is some situations (most in my opinion). A lot of the crap OO is generated by people using OO where it's not appropriate or by using it badly (eg bad abstrations).
"A place for everything and everthing in it's place"
Orthanc
JUnit could be used to create a test harn...
I'm currently at Uni and we've had several large projects with automated test as part of the assesment (some using JUnit).
Last time I checked no-one writes completly bug free code, we had problems with bugs in the tests. I believe this will happen to some extent with any automated tests being used to mark an assignment.
Anyway to use something like JUnit to define tests you also need to define all the class's and public methods for the students. This may work fine for comsci101 but at any higher level assignments need to have some design flexibility.
Orthanc
INAL but I believe that after going bankrupt you're not able to own a business for something like 5 years.
Orthanc
NB: I'm a programmer not a biologist.
Phage's are not a new means of treatment. They have been used against anti-biotic resistant bacteria in Georgia (the country.. not that place in the US) for some time. The phages cannot survive in humans thats why they are using an enzyme extracted from the phage in this case.
I understand the actual phage can only kill bacteria at the surface.
Orthanc
While true there is too much to rember you must know the basics so as to keep the "experts" honest. Anyway, do you really want to create another group of people like layers??
I have a ten minute time slot to play these pieces.. how fast do I have to play??
Algebra
Unfortunatly the beauty is something that cannot be taught except to those who already know it. It also does not appeal to the masses...
Simplicity in itself...
The hypercard scripting langugae (Hypertalk if memory serves) remains the only language I've used, where without a manual you could make a guess at what sounded logical and have valid syntax 90% of the time...
Orthanc
"In the event of low flying planes, shoot them down on the off chance the may be a teroist or hacker" -- potential FBI statement
Orthanc
Most people here know that MHz is not a measure of computing power. However many people don't and still fall into the trap. If only for their benifit I hope that the plaintifs wins and Intel is forced to advertise with proper benchmarks.
And now the debate on how to do a proper benchmark begins......
Orthanc
Consider your standard car engine. Uses a fly wheel to even out power spikes from the pistons firing. I know this isn't electricity but smae principle applies.