Skip to main content

Whats in my Thinking ToolBox

My thinking toolbox consists of the thoughts that I have when designing and coding.  At a base level what I am concerned about is basically:

  • Will this solve the issue?
  • With others understand this?
  • Can it be maintained and modified?
  • Does this suit the issue?
  • How can this effect other code or other developers?


No matter what one does, whether one's deeds serve virtue or vice,
nothing lacks importance. All actions bear a kind of fruit. - Buddha 

Nothing that we do is without side effects and development is no different.  When a piece of code is designed or written, does it belong to the engineer that wrote it?  Will it ever effect anyone else?  How and why code is written can have far reaching effects down stream of it's creation.
One of my concerns for any code that I write is if others can understand it.  My test for this is:

  • Is the code the right complexity for the issue at hand.  
  • Are there any hidden levels of indirection (think reflection, property files, references to references, etc) that are not required.
  • Is all of the related code in as close proximity to each other as possible?  (i.e., scattering like classes in different packages, etc).
  • Is the code consistence with other code in the project.  Does it look like, act like, does not include libraries that I like but are not really required to the issue? 
All of these thoughts go through my mind when developing.  When code is written it's not static, it's dynamic, always changing and mostly worked on by something other than the original creator.  If I can worry about the downstream effects now, if even just a little bit, then my life is better for me and hopefully for someone else.

Comments

Popular posts from this blog

Still Life

 Life is never still, at least I don't think you would want it to be.  That's why so many of us (i.e., retired care free people) travel.  Keep seeing new things and places.   Well the Hurricane so far inland was a new thing and one I would have rather forgone but life is what happens.  Life keeps moving. Except a still life is forever and captures a slice of time frozen in a painting.  This is from a wooden bowl of pears onboard our ship during dinner one nice.  Again, just thought it looked nice. Enjoy.

A Trip Abroad

 Just back from our trip abroad as Asheville continues to recover from the hurricane.  This trip has been planned for a long time and we almost didn't make it because our dog sitting business will be closed for a while. But make it we did and now we are back. We love Amsterdam.  What a fun place to visit.  So many things to too and do there.  The weather was not the best but it did not have an impact on our visit.  Just bundle up. Got some quick painting in while on the boat (i.e., Viking) as we moved from port to port.  This painting is of a garden at a heritage site of windmills.  I thought it looked nice. Nice time on the trip to de-stress from what was happing back home.  We were fine back home but not everything is well with many others.

3rd Try is a Charm

I've been trying to draw / paint these barns for a couple of years but never felt or got them right.  This time I think they turned out right. So What went wrong before and what's right now with this drawing?  This time, the light was right.  It's coming from the upper right and the shadows just looked right.  The other thing is the corn field on the left had to "be in season", otherwise it's just a plowed field.  I had taken other photos from different angles but they never felt right.  This angle has the road, power lines, corn field, etc. all leading to the right.  The shadows on the lower right helps fill in that corner (don't forget about the corners!).  The last part is trying to draw (ink paint maybe) the trees in the background.  Not so easy when they are kind of a blob is green shades. So yeah, it's composition that is king.  Many times I just don't see it until the drawing / painting is finished and when it's right it feels goo...