| |||||||||||
| |||||||||||
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 12:55:35) Associated topics are indexed under C234 - C and C based languages - Further C++ Object Oriented featuresM300 - Well House Manor - Behind the scenes
Some other Articles
A better alternative to cutting and pasting codeCheddleton, Staffordshire A contrast in room rates and facilities HTML - example of a simple web page It can take more that one plus one to get two. Private Java Course - A customer's pictures Speed Networking - a great evening and how we arranged it Two by One by Wiltshire Pointers in C As I came back from Tesco 1637 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||