NetConnect Blog - Your Resource For IT Tips, Tricks and News

Paul Staszko

Recent Posts

Today is a Good Day to Code!

Posted by Paul Staszko on Mar 25, 2016 10:00:00 AM

What is the best day to become a programmer? It was, is, will be yesterday, today, and tomorrow.

Respectively. I tend to be a cold hard light of the day realist about most things, but one of the few areas about which I am perpetually optimistic is software programming. As software programming is a broad topic, I’ll focus on the areas of options, ease of use, and reach. Let’s imagine how this applies to a fictitious novice jumping into software development.GDAGX2JKI4.jpg

Like any craft where you repair something that is damaged or create something out of nothing, having the right tool for the job is essential to success. As software interacts more and more aspects of our lives, programmers need ever expanding options for languages, tools, and best practices. Thankfully, we’ve got them. The sheer number of programming languages alone can seem a bit overwhelming on the whole, but if there is a job to do, someone has probably already done the hardest parts of it for you.

With even the vaguest of Google searches, our new developer will be off and running. The currents of IT support websites are well established and will insure a novice will end up with some useful tools and heaps of guidance. Sites like StackOverfow, its parent StackExchange, and CodeProject have made a permanent stamp on free and open peer support. Tutorials, essays, answers to extremely specific problems, they are all there for the taking.

The languages and the tools available also continue to mature and become better understood and supported by their respective communities. This is an easy point to overlook, but technologies live and die on the communities that form around them. For those who like something to hold, it’s very easy to find amazing books on software programming. I could hardly overstate how valuable the books on my bookshelf have been.

At the risk of being the prototypical cranky old man, kids these days have no idea how hard it used to be. I don’t think they are missing too much though. You can learn a lot by struggling on your own, but success and a helping hand are pretty nice too.

photo-1417733403748-83bbc7c05140.jpegMy final argument that today is the best day to become a programmer boils down to one word. Reach. Broadly speaking, I mean how far a piece of software can go, the amount of work a bit of software can accomplish, and how fast it can do it while continuing to grow are truly mind boggling. Small computers are all around us in the form of, well, pretty much anything these days. A crafty programmer is able to extend their reach into those devices to make them work more to the programmers liking. Come to think of it, I don’t see why my washing machine couldn’t text me when it’s done. It doesn’t have an alarm. Maybe this weekend…

To go along with the swarm of small computers surrounding us, internet services are available to be harnessed. Telecommunications, video, social media, ecommerce. All of these areas become toys for a developer to mix and match. More than ever before, a programmer’s digital world and physical world can be bent to their will. My friend wants to order cat food via a text message. I’m 90% of the way there.

The Interactive Team at Network Center, Inc. has the knowhow to get the job done. Even more importantly, we are excited to find new and better ways to exceed our customer’s expectations on time and on budget.

Today is a good day to code!


Topics: Developers, website development, software development

Three Principles of Computer Programming and Life

Posted by Paul Staszko on Oct 23, 2015 2:19:04 PM

Programming ABCI think most people would agree that outside of the group of people that write software, many people do not have a clear idea of what is involved in the creation of software. As much as I’d like to teach the world to code, I am going to settle for sharing some of the guiding principles of programming. I also aim to find parallels with more relatable aspects of life, as these can be powerful concepts to harness.

Before I dive in, I will refer to code a few times. Simply put, software is a bunch of instructions for the computer to carry out. When programmers write these instructions, or code, we prepare documents with special languages and grammars that ultimately tell the computer what to do.  Now that you are a programming specialist, let’s review Three Principles of Computer Programming and how they apply to life in general.

  1. Don’t Repeat Yourself

For as simple as this point is, it is surprisingly relevant. Many, many times a programmer will need to instruct the computer to do the same thing in different parts of a program. It could be as simple as “If the value is blank, print out a 0” or as complicated as posting a batch of invoices. Since all of this code is just text in documents, it’s entirely possible to copy and paste the code wherever you need it. This principal warns us not to. If the code needs to change to fix a bug or add an enhancement, it has to be changed everywhere. Aside from being extra work to fix it in multiple places, you can miss one and end up with inconsistent behavior. Fortunately, pretty much every programming language allows us to code things in one place and refer to that as needed.

An everyday example of this would be a shopping list. In that case, the list is the program and you are the computer. It tells you what to do. You wouldn’t want to maintain multiple copies of the same shopping list. That would be a nightmare to keep synchronized and updated on all versions of the same list.

  1. Everything should be made as Simple as possible, but not Simpler

The above is a quote. Its origin is unclear, but the message isn’t. There is a minimum level of complexity involved in any task or description, be it programming or something else. If you make it simpler, it will be incomplete. The quote itself is a perfect example of this. It simply says what is broadly true while also acknowledging the exceptions.

If you want an example, observe the next conversation about where to go to lunch with your friends or colleagues. If they are anything like mine, it may be overly complicated. The simplest answer would be to have one person pick, but an obvious wrinkle would be the dietary restrictions of someone in the party. It would be nice for it to be ultimately simple, but it’s not. The best antidote for this issue is a solid understanding of the factors involved. This is true for lunch and software.

  1. The Principle of Least Astonishment

When designing a user interface or some code to be shared with other programmers, it is vital to present things in such a way that the user or programmer will be able to anticipate the behavior. Many times, this is as simple as using a clear naming convention or following common standards. This can be a tricky one, however, as we all see the world differently; some more differently than others. Your best bet is a good understanding of your audience.

This is a pretty broad one, but a simple example would be the gas and brake pedals in a car. It would be quite a surprise to find yourself driving a car with the two flip flopped.  The same confusion can occur if your software programming style does not conform to the common style of the programming language being used.

I hope this has given you a better idea of the types of things that rattle around in a programmer’s brain. Perhaps more interestingly, you might find that giving names to some of these ideas might help you notice and take advantage of them in your work and life.  If you’d like to know more about interactive services or how custom programming can help your business, contact Network Center, Inc.

NCI Contact Us Button

Subscribe to Email Updates

Recent Posts

Posts by Topic

see all