0 Members and 1 Guest are viewing this topic.
It started with DOS and carried on from there.But, without them, would so many people be experiencing the joys of computing?(I'm not a fan, btw, having only bought Apple since 1991)
One thing that is saving microsoft at the moment is the custom formats for office documents, people are so used to just attaching a word doc to an email and sending it off!
Yes.
Sorry, folks, but I'm going to waffle a bit more as I've just thought of something else.When I was a software development manager I insisted that not only should our code do what it was supposed to, but also that it did it the right way. Not only would the programs be rigourously tested but the code would be examined by a team leader or myself to ensure it was written in a way that would be easy to maintain and fix should unforeseen problems arise - and it had to be fully commented (something that programmers are notoriously lax about). And my motto was KISS (Keep It Simple, Stupid). No fancy programming techniques that no-one else could fathom out. We had an MSc Computer Science chap working for us whose code was very tight and clever, but he was the only 1 who knew exactly what it did. I soon got him out of that.
I also wanted the code to be easily modifiable so that if a customer wanted it to do something a bit different it wouldn't involve a major re-write. Functions would be written once & once only then used throughout the entire system. Each function would perform just 1 specific task. Composite functions were a big no-no. All I/O and database calls were kept out of the main logic so that if we ever swapped to a different database we only had to code new functions and plug them in; the main logic of the programs didn't need to be touched.I don't know if that's how MS do their development, but I suspect maybe not. If they did then their updates & patches would not be anywhere near as big or frequent.
I really like micro-kernel systems, where the kernel is really tiny and basic, end where nearly everything else, including stuff that would normally be classes as system services, runs in user space using message-passing to communicate. The old AmigaDOS and QNX are good examples of micro-kernel based message-passing systems.
if (isset($_GET['contact_select_button'])){ switch ($_GET['contact_select']) { case -1: $forms->display_add_contact_form($company, $db_calls); break; default: $_SESSION['current_contact']=$_GET['contact_select']; $forms->display_contact_details($_GET['contact_select'], $db_calls); }}if (isset($_GET['company_select_button'])){ switch ($_GET['company_select']) { case -1: $forms->display_add_company_form(); break; default: $_SESSION['current_company']=$_GET['company_select']; $forms->display_company_details($_GET['company_select']); }}if (isset($_GET['category_select_button'])){ switch ($_GET['category_select']) { case -1: $category->display_add_category_form(); break; default: $_SESSION['current_category']=$_GET['category_select']; $category->display_category_details($_GET['category_select']); }}if (isset($_GET['company_add_button'])){ $company->add_company();}if (isset($_GET['contact_add_button'])){ $contact->add_contact($db_calls);}if (isset($_GET['category_add_button'])){// $category->add_category();}
I read it all!