2 thoughts on “Quote of the day

  1. Hi Colin, hope your well. I don’t know about this quote, which means I disagree with the quote. Yes changing the variable name won’t change the outcome of the code, it’s external representation, but it does effect it’s internal representation. You know all about this, why am I telling you; cde readability.What would happen if the dog was named “cat” for example. It’s still the same dog yes but what would other people think your pet was if you stood calling out “cat” when the buggers done a runner.Maybe this is an anti-quote.

  2. The quote probably doesn’t work so well out of context.The context was that a person was trying to get some code to work and was doing weird stuff to try and get it to work. In amongs that he changed a variable from “gt” to “fr”.I agree that in the context of code readability it does help that variables are well named, but when you try and fix something by giving a badly named variable a different bad name it isn’t really going to help all that much.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s