Category: programming
Posted: Mar 6, 2016
Tags: programming
A thought on Self Documenting Code
At risk of sounding like I don’t know what I am talking about, I’m writing this post to document something that most programmers have probably known for a long time, even though I only just discovered it. ¶ Often when programming we may write something like this: ¶ // Checks if user...
Posted: Aug 4, 2015
Tags: culture, programming
Don't Worry, Just Code
Use this chart to decide your first programming language. Hey, come back! I was just making a point. Hello? ¶ For those of you who stayed, charts like this are just about the worst way to choose a programming language. ¶ My Saga ¶ If you don’t want to read the long personal...
Posted: May 17, 2015
Tags: programming, web
Using REST Inside Programs
Rich Hickey proposed an interesting idea in his keynote at RailsConf 2012. The idea, if I understand correctly, is that if serialization is good between servers as a way to separate concerns, then why don’t we do it between different sections of code on the same server? ¶ Using REST between...
Posted: May 8, 2015
Tags: css, programming, web
Pseudo-Element Kung-Fu
I recently found that the content property can contain cooler stuff than just strings. For instance, you can show the href of a link in a cool popup with absolutely no JS: ¶ content: attr(href); See the Pen Pure CSS link hover popup by flyingfisch (@flyingfisch) on CodePen. ¶ This allows us...