As part of my ongoing pledge to be less selfish, i’ve decided to spend a few hours making a nice little Paste Bin website.
It uses Couchbase (a NoSQL storage database server) and Ruby on Rails along with a touch of bootstrap. I’m gonna be adding thing such as “re paste” in-line editing and self-destructing pastes as I get time. But until then, its nice little pet project for me to ponder on.
Once you paste it maintains the formatting of your code and even supports Unicode.
It should be lightening fast (even though its ruby) and stable + it has a cool domain name… what else do you need. Paste your heart out.
I move around on different projects a lot and work with different developers every few months. One thing I’ve noticed is people picking up bad habits from blogs and Stack Overflow posts that get very popular despite their quality (this is not a blanket statement of course)… On the other hand however, I’m able to share experiences with other developers and pickup some good tips in the process. One bone picking point is always what convention to use, when, where and most importantly… Why!
Something i’ve been asked for a few times recently and something I continually tweak as my own preferences and style changes is my Objective-C iOS Code Style Guideline doc. I thought i’d share it here for everyone to use, love and consume. All I ask is that you don’t steal it as your own and that you perform any discussion on twitter using #mike.kz or message me @italoarmstrong 🙂
These guidelines of course are my own personal preferences, which have developed over many years and will continue to change, even as writing this point, I changed my mind on a few points in the below guide. So take inspiration from it, rather than thinking “this is correct way of doing it” as its not. Thats usually the point in a “guideline”.