The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
It is fantastic and I am stunned by how much work absolutely had to go into that.
A lot of it was research and googling how to do things. Once I got the basics handled, I started adding more pieces, but the implementation was really just a view-controller. At that point, I started writing the article because I didn't want to forget all the lessons I'd learned up to that.
The irony was, I hadn't added connection points yet, figuring I could do that after writing about the basics. It was then that I realized the V-C pattern was not going to handle it, and I needed a true MVC model. Besides, I had kludges I wasn't happy with. Oi! So right in the middle of the article, I switch to a true MVC pattern and ended up refactoring almost all the code. Hence the section "Refactoring the Prototype to use an MVC Pattern."
It was an interesting decision point. Do I rewrite the article at that point, starting with an MVC pattern, or do I let the prototype remain and explain the switch to MVC. I decided to let it remain as is and talk about refactoring it to an MVC pattern, figuring it would be educational and besides, I don't mind showing my dirty laundry, as it were. The reader gets to see more of the development process that way rather than just being presented with a finished product.
I have absolutely no use for any of that code as this is very far removed from anything I do on a day-to-day basis.
Yet this article indeed deserves all the 5-votes it can get, and it absolutely got mine. Articles that make you want to dive into and learn an unfamiliar topic the way this one does are few and far in-between.
For years... nay, decades... I've been attempting to work in a paper free environment. I didn't even realize I'd achieved this goal until my wife visited my office and made the observation. No one here has any paperwork on their desks. Everyone's desk's are clear... except mine. Subconsciously, I've replaced all the missing stacks of paper with toys. Lots of Legos, a ball puzzle, a Yoda statue, and a pair of Hulk Hands. Lego sets include Hulk Buster armor, Darth Vader, and the Apollo 11. I rotate regularly with other sets: Star Destroyer, Millennium Falcon, X-Wing Fighter, etc. I also make sure a jar of jelly beans remains stocked at all times.
I'm just curious what sort of desk toys do you guys prefer? Or do you think them a waste of time?
Hmm, let's see...looking around I see a few mounds of handwritten notes, notebooks, several 2'' thick manuals, a ups battery that needs replacing, a flashlight, bottle of Windex, sani-wipes, and a few rocks/crystals...and a red Swingline stapler.
We have a clear desk policy a work. On mind I have a light saber that I took off the kids as they we hitting each other with it, a camper van model and a ball that once it hits something it will giggle for ages.
Every day, thousands of innocent plants are killed by vegetarians.
I'm just curious what sort of desk toys do you guys prefer?
Animist jujus blessed/empowered on a dark-of-the moon's midnight at a cremation ground by defrocked monks performing secret rites.
«... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle