• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Dion Almaer

Software, Development, Products

  • @dalmaer
  • LinkedIn
  • Medium
  • RSS
  • Show Search
Hide Search

JavaScript vs. CoffeeScript is to Running vs. Cycling

July 16, 2013 Leave a Comment

What if they are both good choices? 🙂

Being mindful about your choices

In the space of two hours I had two conversations that felt very similar but were in very different contexts.

Conversation 1: Shall we use CoffeeScript or “naked” JavaScript

Conversation 2: Shall I run or bicycle?

I noticed two levels of abstraction in the discussions.

High Level: It Doesn’t Matter

When it comes to building a great experience for your user do you think that the deciding factor will be the technical choice between JavaScript or CoffeeScript? I hope not. Maybe it would be better to spend some of the mindshare on what user needs you are solving. We have all been there. Hell, The Internship even had a joke about vi vs. emacs. Religious wars are common.

The same can be said for the exercise discussion. The choice can create stop energy (famously noted by Barry Schwartz) so instead of run or cycle you come out the end with neither. When it comes to cardiovascular health, the most important factor will be choosing ONE of these (or something else of course).

Low Level: The Details Matter

It is easy to look at the high level and poo-poo the discussion. The details do matter though. A couple of factors that I tend to weigh are:

What will make me most excited?

If I am really excited to use CoffeeScript, that alone may be enough to push me over the edge. If I am jazzed about it I will work harder at the problem, and this passion will result in a better project. Beware of the ramifications though. You may feel like it will be more fun but in reality that may not become Truth. On the downside you may spend much time getting some bleeding edge thing working, and there may be the cost of learning something new, and then of course there is maintenance and leverage to think about. I try hard to take a step back and really look at the details before making the gut feel jump, and also have an chat about “can I instead feel more excited about what I am building over how”.

What are the social ramifications?

No one is an island. How does the entire team feel about the choice? I try to not be selfish and get excited about doing what makes sense for the team.

I have to admit that writing in CoffeeScript often makes me happier as it feels right. This is how I feel about Ruby too. It fits my brain. One of the reasons that I like CoffeeScript is that as well as fitting my way of thinking, it is close to the bone rather than a huge abstraction. For example, compare to something like GWT where in theory a Java developer can just write something but in practice you bump up against the leaky abstraction. It is wise to actually understand JavaScript even if you don’t write it all day long. When you sit on top of another platform you also run into ownership issues. For example, ES5 is learning from CoffeeScript and will have changes that conflict, so it will be interesting to see how that all comes out.

You can’t predict the future

The team changes. Context changes. I am trying to consider maintenance and the long term more and more. If I value building a solution that can be maintained and changed easily… and one that allows new members to join the team and get up and running, then I will be future proofing.

When it comes to the exercise question, your team mates can really matter too. Buddies on a running team that you want to hang with? Cycling to work? It has been shown time and time again that social pressure matters a lot, so consider that as part of your choice.

Many folks have told me I just don’t like running. I felt the same way, but gave myself a month to see if I could change that feeling. It did take about a month but I came out the other side. This is not to say that you should choose running when you would prefer to cycle though. Making a choice that you have the best chance of keeping up with is the most important factor. I was trying an experiment to see if I could use mind over matter. I really wanted it to work as I feel like I get more bang for the buc with running, in that anything from 30 minutes to an hour is a real work-out. I have friends who go on multi-hour rides which sounds fun… but I didn’t want to take that time.

Now I need to try mind over matter with technology too. What if I gave Clojure a month long chance? 🙂

Share this:

  • Twitter
  • Facebook

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Twitter

My Tweets

Recent Posts

  • Generative AI: It’s Time to Get Into First Gear
  • Developer Docs + GenAI = ❤️
  • We keep confusing efficacy for effectiveness
  • The holy grail of a Web SDK
  • The rise of the extensible app platforms

Follow

  • LinkedIn
  • Medium
  • RSS
  • Twitter

Tags

3d Touch 2016 Active Recall Adaptive Design Agile Amazon Echo Android Android Development Apple Application Apps Artificial Intelligence Autocorrect blog Bots Brain Calendar Career Advice Cloud Computing Coding Cognitive Bias Commerce Communication Companies Conference Consciousness Cooking Cricket Cross Platform Deadline Delivery Design Desktop Developer Advocacy Developer Experience Developer Platform Developer Productivity Developer Relations Developers Developer Tools Development Distributed Teams Documentation DX Ecosystem Education Energy Engineering Engineering Mangement Entrepreneurship Exercise Family Fitness Founders Future GenAI Gender Equality Google Google Developer Google IO Habits Health HR JavaScript Jobs Jquery Kids Stories Kotlin Language Leadership Learning Lottery Machine Learning Management Messaging Metrics Micro Learning Microservices Microsoft Mobile Mobile App Development Mobile Apps Mobile Web Moving On NPM Open Source Organization Organization Design Pair Programming Paren Parenting Path Performance Platform Platform Thinking Politics Product Design Product Development Productivity Product Management Product Metrics Programming Progress Progressive Enhancement Progressive Web App Project Management Psychology Push Notifications pwa QA Rails React Reactive Remix Remote Working Resilience Ruby on Rails Screentime Self Improvement Service Worker Sharing Economy Shipping Shopify Short Story Silicon Valley Slack Software Software Development Spaced Repetition Speaking Startup Steve Jobs Study Teaching Team Building Tech Tech Ecosystems Technical Writing Technology Tools Transportation TV Series Twitter Typescript Uber UI Unknown User Experience User Testing UX vitals Voice Walmart Web Web Components Web Development Web Extensions Web Frameworks Web Performance Web Platform WWDC Yarn

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

  • January 2023
  • September 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • November 2021
  • August 2021
  • July 2021
  • February 2021
  • January 2021
  • May 2020
  • April 2020
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • January 2019
  • October 2018
  • August 2018
  • July 2018
  • May 2018
  • February 2018
  • December 2017
  • November 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012

Search

Subscribe

RSS feed RSS - Posts

The right thing to do, is the right thing to do.

The right thing to do, is the right thing to do.

Dion Almaer

Copyright © 2023 · Log in