It can take more that one plus one to get two.
I was running a
C++ course yesterday (yes, a Saturday!) and among the topics we covered was the overloading of operators. In languages such as C++ and Python, you can re-define what operators such as
"+" do when you add objects together, and the course example I used was adding two enclosing cubes - boxes - where the resulting box to contain both the input boxes is sized as:
The LARGER of the two X values
The LARGER of the two Y values and
The SUM of the two Z values.
Think about it - stacking two cubes on top of each other.
Odd things happen with addition in real life too. With staff at
the hotel now going off on their summer holidays, we need not just one person (plus the manager) but two who can perform each job. And that adds a whole new "can of worms" - procedures to ensure that jobs are documented and done consistently - things that Martin and I take for granted and do automatically each morning have to documented and checked. It's a darned site harder that just saying 1 + 1 = 2!
Please feel free to browse "Breakfast in 5 Stages" ...
part 1,
part 2,
part 3,,
parts 4 and 5 ... a new writing that I'm sure is NOT going to turn into a best seller, by Graham Ellis and other Well House staff.
Other pictures/pages added recently ...
Heddington,
Lacock as a film set and
Random pictures of Well House Manor and Wiltshire (written 2007-04-22, updated 2007-04-25)
Associated topics are indexed under
C234 - C and C based languages - Further C++ Object Oriented features [3509] Operator Overloading, Exceptions, Pointers, References and Templates in C++ - new examples from our courses - (2011-11-06)
[3430] Sigils - the characters on the start of variable names in Perl, Ruby and Fortran - (2011-09-10)
[3238] Bradshaw, Ben and Bill. And some C and C++ pointers and references too. - (2011-04-09)
[3124] C++ - putting the language elements together into a program - (2011-01-08)
[3069] Strings, Garbage Collection and Variable Scope in C++ - (2010-11-25)
[3057] Lots of things to do with and within a C++ class - (2010-11-16)
[2849] What are C++ references? Why use them? - (2010-07-02)
[2717] The Multiple Inheritance Conundrum, interfaces and mixins - (2010-04-11)
[2673] Multiple Inheritance in C++ - a complete example - (2010-03-12)
[2576] What does const mean? C and C++ - (2010-01-15)
[2005] Variables and pointers and references - C and C++ - (2009-01-23)
[2004] Variable Scope in C++ - (2009-01-22)
[1819] Calling base class constructors - (2008-10-03)
[831] Comparison of Object Oriented Philosophy - Python, Java, C++, Perl - (2006-08-13)
[802] undefined reference to typeinfo - C++ error message - (2006-07-15)
[801] Simple polymorphism example - C++ - (2006-07-14)
M300 - Well House Manor - Behind the scenes [3093] How many toilet rolls - hotel inventory and useage - (2010-12-18)
[2961] Initial handling of phone calls and walk in visitors - (2010-09-19)
[2960] The Well House team - September 2010 - (2010-09-19)
[2916] Testing the robustness of our hotel and training systems - holiday and sickness times - (2010-08-11)
[2910] Robust - testing the system - (2010-08-09)
[2396] Easing off in our 50s? - (2009-09-06)
[2247] A day in the life of a hotelier - (2009-06-18)
[2125] We have lost a regular business guest - (2009-04-10)
[1991] Rules for a King - (2009-01-13)
[1973] Required Request - (2009-01-03)
[1957] Why are cooks bad tempered? - (2008-12-22)
[1948] Blame Culture - (2008-12-17)
[1904] Ruby, Perl, Linux, MySQL - some training notes - (2008-11-23)
[1900] Table Topics - (2008-11-22)
[1854] Three Seasonal Pictures - (2008-10-25)
[1637] Providing exceptional service - and carrying on doing so. - (2008-05-09)
[1571] Await guests in the early hours - (2008-03-12)
[1520] Terms and Conditions - Hotel, England - plain English - (2008-01-26)
[1515] Keeping staff up to date on hotel room status - (2008-01-22)
[1490] Software to record day to day events and keep an action list - (2007-12-31)
[1441] On cancellations, rebooking, and pricing schemes - (2007-11-22)
[1371] Hotel in Melksham at Christmas - (2007-09-29)
[1369] One business, four different angles! - (2007-09-28)
[1319] Customer feedback - lifeblood of a business - (2007-08-25)
[1311] What do people look for on a hotel web site? - (2007-08-20)
[1285] In the army, or in civvie street? - (2007-07-31)
[1189] Meet, greet and welcome - (2007-05-16)
[1179] Sizing sheets and other domestic issues - (2007-05-07)
[1105] A week is a long time in the life of a conference centre - (2007-03-10)
[1083] Behind the scenes - (2007-02-17)
[1000] One Thousand Posts and still going strong - (2006-12-18)
[951] What happened at Geekmas - (2006-11-28)
[939] Swipe cards for hotel rooms - Security issues - (2006-11-23)
[931] Before and After - Well House Manor - (2006-11-18)
[927] Hotel door furniture - (2006-11-15)
[897] Too much for the National Trust - (2006-10-18)
[868] Smoking, or no - (2006-09-16)
[813] Monday Morning at Well House Consultants Melksham - (2006-07-24)
[769] King Edward VII - days of empire - (2006-06-20)
[742] A visit from the solicitor - (2006-06-03)
[677] Sympathetic development - (2006-04-09)
[203] Holes in on line information - (2005-02-05)
Some other Articles
A better alternative to cutting and pasting codeCheddleton, StaffordshireA contrast in room rates and facilitiesHTML - example of a simple web pageIt can take more that one plus one to get two.Private Java Course - A customer's picturesSpeed Networking - a great evening and how we arranged itTwo by One by WiltshirePointers in CAs I came back from Tesco