16 Jul '14, 9pm

Let Your Code Speak For Itself

Let’s say you have some code whose intent is clear to you but you can see a world where someone else may be confused. Often after writing such code, you realize this and add some comments to clarify the intent. We add code comments for other developers who will interact with whatever we wrote, because we are courteous and thoughtful teammates: class HostsController < ApplicationController def show # make sure user belongs to host if name is internal # set current host in session if current_user.hosts.include?(host) && host.match(/intranet.example.com/) session[:current_host_id] = host.id redirect_to(projects_path) else raise 'something went horribly wrong oh nooooo' end end end The Telephone Game Remember the telephone game ? Messages passed through intermediaries can get garbled in transmission. Particularly unreliable, logic-free intermediaries like code comments. On the...

Full article: http://robots.thoughtbot.com/letting-your-code-speak-for-...

Tweets

UK: Let's Make a Spaceport!

UK: Let's Make a Spaceport!

spectrum.ieee.org 16 Jul '14, 1pm

In a bid for rapid-fire relevance in the emerging private spaceplane industry, the UK government announced its intent to o...

ICYMI: The RubyConf 2014 CFP is open! Please , ...

rubyconf.org 16 Jul '14, 11pm

Call For Proposals It's time for Rubyists to come share their Ruby knowledge with their peers through the RubyConf CFP. If...

Only Allow Yourself to Speak Positive Thoughts

Only Allow Yourself to Speak Positive Thoughts

carrotsncake.com 17 Jul '14, 9pm

Goal for today’s WOD: Get uncomfortable today in your runs… Push 10% harder than you normally would. And then (hardest par...

Outfit: Let's Zoo This! @StilettosAndDB #blogger

Outfit: Let's Zoo This! @StilettosAndDB #blogger

stilettosanddiaperbags.com 17 Jul '14, 11am

My sister and her three children met up with me and my two kids and we decided to make it a zoo day. Honestly when I am pu...

Melbourne’s Code Black Coffee Expands To Montreal (Kind Of) @codeblackcoffee, feature by @MMcafeLP

Melbourne’s Code Black Coffee Expands To Montre...

sprudge.com 15 Jul '14, 4pm

“I’ve known Joseph since childhood in Lebanon, we are cousins and best friends,” explains Montreal transplant Gus Haddad. ...

.@jambutterbread Likely S376A or S376G Penal Co...

statutes.agc.gov.sg 18 Jul '14, 2am

Penal Code (CHAPTER 224) (Original Enactment: Ordinance 4 of 1871) REVISED EDITION 2008 (30th November 2008) An Act to con...

Google Tag Manager – One Code To Rule Them All

Google Tag Manager – One Code To Rule Them All

searchenginepeople.com 18 Jul '14, 1pm

It's easy to implement and use (if you don't know how to set it up, this article will show you how to do it in less than 1...

#Branson .com – The one the Chamber of Commerce let go away! #domains #Missouri #geodomains #domaini…

#Branson .com – The one the Chamber of Commerce...

domaingang.com 15 Jul '14, 9pm

Branson.com – The one the Chamber of Commerce let go away! Posted by DomainGang on July 15, 2014, at 4:55 pm Branson , Mis...

Report: Current Code Sets New Buildings On Unsu...

edcmag.com 15 Jul '14, 12pm

Urban Green Council, the New York chapter of the U.S. Green Building Council, released High Cholesterol Buildings , a repo...

3 Noteworthy Solar Implications in New US National Electrical Code

3 Noteworthy Solar Implications in New US Natio...

renewableenergyworld.com 16 Jul '14, 4pm

The 2014 National Electrical Code (NEC) has come out, and this version holds a bit of solar intrigue even for those who ar...

Let the professionals do what they are trained ...

bigdogdotcom.wordpress.com 18 Jul '14, 6am

On July 19, 2014 at 06:31 Isa said: The problem will be getting an independent investigation by a team of international ex...

#Startup #Jobs: Code Army X is looking for a Le...

startupjobs.asia 16 Jul '14, 11am

Code Army is an online accelerator for non-Technical Founders. We match these Founders with CTOs and Designers from all ov...