Your search did not yield any results.

Feel free to contact us in the event that the training you require is not listed. We may be in a position to offer this training by way of our partners or by creating a tailored class.

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Blog Entries publications that: entertain, make you think, offer insight

The original article was posted by Michael Veksler on Quora

A very well known fact is that code is written once, but it is read many times. This means that a good developer, in any language, writes understandable code. Writing understandable code is not always easy, and takes practice. The difficult part, is that you read what you have just written and it makes perfect sense to you, but a year later you curse the idiot who wrote that code, without realizing it was you.

The best way to learn how to write readable code, is to collaborate with others. Other people will spot badly written code, faster than the author. There are plenty of open source projects, which you can start working on and learn from more experienced programmers.

Readability is a tricky thing, and involves several aspects:

  1. Never surprise the reader of your code, even if it will be you a year from now. For example, don’t call a function max() when sometimes it returns the minimum().
  2. Be consistent, and use the same conventions throughout your code. Not only the same naming conventions, and the same indentation, but also the same semantics. If, for example, most of your functions return a negative value for failure and a positive for success, then avoid writing functions that return false on failure.
  3. Write short functions, so that they fit your screen. I hate strict rules, since there are always exceptions, but from my experience you can almost always write functions short enough to fit your screen. Throughout my carrier I had only a few cases when writing short function was either impossible, or resulted in much worse code.
  4. Use descriptive names, unless this is one of those standard names, such as i or it in a loop. Don’t make the name too long, on one hand, but don’t make it cryptic on the other.
  5. Define function names by what they do, not by what they are used for or how they are implemented. If you name functions by what they do, then code will be much more readable, and much more reusable.
  6. Avoid global state as much as you can. Global variables, and sometimes attributes in an object, are difficult to reason about. It is difficult to understand why such global state changes, when it does, and requires a lot of debugging.
  7. As Donald Knuth wrote in one of his papers: “Early optimization is the root of all evil”. Meaning, write for readability first, optimize later.
  8. The opposite of the previous rule: if you have an alternative which has similar readability, but lower complexity, use it. Also, if you have a polynomial alternative to your exponential algorithm (when N > 10), you should use that.

Use standard library whenever it makes your code shorter; don’t implement everything yourself. External libraries are more problematic, and are both good and bad. With external libraries, such as boost, you can save a lot of work. You should really learn boost, with the added benefit that the c++ standard gets more and more form boost. The negative with boost is that it changes over time, and code that works today may break tomorrow. Also, if you try to combine a third-party library, which uses a specific version of boost, it may break with your current version of boost. This does not happen often, but it may.

Don’t blindly use C++ standard library without understanding what it does - learn it. You look at std::vector::push_back() documentation at it tells you that its complexity is O(1), amortized. What does that mean? How does it work? What are benefits and what are the costs? Same with std::map, and with std::unordered_map. Knowing the difference between these two maps, you’d know when to use each one of them.

Never call new or delete directly, use std::make_unique and [cost c++]std::make_shared[/code] instead. Try to implement usique_ptr, shared_ptr, weak_ptr yourself, in order to understand what they actually do. People do dumb things with these types, since they don’t understand what these pointers are.

Every time you look at a new class or function, in boost or in std, ask yourself “why is it done this way and not another?”. It will help you understand trade-offs in software development, and will help you use the right tool for your job. Don’t be afraid to peek into the source of boost and the std, and try to understand how it works. It will not be easy, at first, but you will learn a lot.

Know what complexity is, and how to calculate it. Avoid exponential and cubic complexity, unless you know your N is very low, and will always stay low.

Learn data-structures and algorithms, and know them. Many people think that it is simply a wasted time, since all data-structures are implemented in standard libraries, but this is not as simple as that. By understanding data-structures, you’d find it easier to pick the right library. Also, believe it or now, after 25 years since I learned data-structures, I still use this knowledge. Half a year ago I had to implemented a hash table, since I needed fast serialization capability which the available libraries did not provide. Now I am writing some sort of interval-btree, since using std::map, for the same purpose, turned up to be very very slow, and the performance bottleneck of my code.

Notice that you can’t just find interval-btree on Wikipedia, or stack-overflow. The closest thing you can find is Interval tree, but it has some performance drawbacks. So how can you implement an interval-btree, unless you know what a btree is and what an interval-tree is? I strongly suggest, again, that you learn and remember data-structures.

These are the most important things, which will make you a better programmer. The other things will follow.

How Can Managers Work More Efficiently with IT?

Would you rather work under someone who is an excellent developer but lacks people skills or leadership capabilities - or for someone that has excellent people skills, communicates well, and is a great leader but has limited understanding of productive coding practices? That’s not to say that the choice is one or the other but in many professional situations it does.

Managing an IT staff comes with numerous challenges, especially if the manager has no previous experience with the coding necessary for completing the project. Managing a business and IT's execution of tasks vary greatly in required skill sets, but it's important to find a cohesive and cooperative middle ground in order to see a project to its end. To fully grasp the intricacies of IT's involvement in the project at hand, managers can do the following to help further their efforts.

Get a basic understanding of coding and technical practices necessary for the project at hand by taking the time to research and practice enough to get a grip on the concept. This will allow managers insight on what their IT folks are really working on daily. Expertise in a programming language is not required, only an overview of the stuff that matters, i.e. understanding the concept of OOP (Object Oriented Programming.) Having this knowledge cannot be overlooked and will gain respect among multiple spectrums in the organization.

Technology has continued to evolve in ways that few would have been able to imagine. This has allowed electronics to become smarter, more connected and far more useful.

With the Internet of Things (IoT), they're allowing more than just computers to become connected to the Internet. This aims to make the life of the average person easier, better and more care-free.

Let's examine why the Internet of Things has become such a powerful idea that an estimated one out of every five developers currently works on an IoT project.


What is the Internet of Things?

The Internet of Things hinges on one seemingly simple concept: electronics can be embedded in machines, clothing, animals and even people to provide a networked world where the whole is more than just the sum of its parts.

For example, consider how the Internet of Things can influence things like refrigerators. They can be networked directly to the manufacturer for readings that can warn if the refrigerator is about to malfunction. They can even be connected to a grocery shopping service to allow someone to restock them automatically or to notify the owner that the refrigerator is almost out of an item.

The most interesting notion about the Internet of Things is that it's not just a situation where one “thing” connects with a party. They typically communicate with other things, which in turn allows for a network of automated processes to occur.

These processes can simplify and expedite tedious tasks to make everyday life for everyone easier, which is why projects involving the Internet of Things are so popular.


How Prevalent is IoT Development?

An estimated one in five developers are currently developing projects for the Internet of Things. Their chosen languages vary widely because of the flexibility that IoT enjoys.

For example, IoT projects that hinge on interacting with mobile phones tend to have apps written in JavaScript or Java. The back-end code that runs the IoT functionality for machines tends to be written in Assembly, C++,Java,Perl,Pythonor another compiled language for efficiency.

To put the growth of IoT work into perspective, Evans Data Corp. performed research to create predictions about IoT projects in 2014. They stated that 17% of companies would be developing IoT projects.

In this year, that figure's risen to a solid 19%. Given the fact that 44% of developers have stated that they will enter into the IoT scene this year or next, this means that development will only grow in the coming future.


The Future Involving the Internet of Things

Development of IoT-related projects will likely explode in the next few years. The advantages it brings, such as more efficient work in manufacturing environments and the projected 15% savings to the restaurant industry over the next five years, will make it one of the most valuable technological changes in the near future.

Without a comprehensive understanding of the Internet of Things and the skills to lead IoT projects, businesses and developers may find themselves falling behind. Don't let the Internet of Things pass you by.

The field of information technology is in many ways perfectly suited for entrepreneurship. Many highly successful enterprises started with a lone IT professional venturing out on their own and starting up their own company. If you have computer science skills and want to explore alternative options outside the corporate arena you should seriously consider going into business for yourself. Businesses may be more willing to hire you as a contractor rather than as a full-time worker. There are certain IT jobs that are perfect for individuals who want to be self-employed, they include:

• Working as a Consultant
Large IT departments are not as necessary for corporations as they were at the start of the internet era; this is partly due to the trend towards cloud computing. Consultants are often brought in to handle the need for tech expertise when companies downsize or eliminate their IT departments. A consultant may work for several different clients at the same time, be on call for various disciplines or be commissioned for specific projects.

• Web Entrepreneurship
The ease of building a website and the fact that web hosting is relatively affordable means that it does not take a lot of know-how to start your own online empire. You can sell products or services, or start your own online community. Another option is to start selling goods via auction sites or on sites that sell advertising space. You will need an understanding of marketing and of search engine optimization so that you can draw visitors to your site.

• Programming Apps for Mobile Devices
The future of the Internet is in mobile devices. Statistics show that much of the world will be using mobile devices and smart phones to handle their surfing needs in the near future. If you have the skills to program the apps used on these devices, you could be among those riding the wave of this trend.

It is not impossible to start an Information Technology company with very little startup capital. Getting it off the ground in terms of online visibility will require focus to detail, knowing your target market, a consistent campaign to build a client list and a solid reputation.

training details locations, tags and why hsg

the hartmann software group advantage
A successful career as a software developer or other IT professional requires a solid understanding of software development processes, design patterns, enterprise application architectures, web services, security, networking and much more. The progression from novice to expert can be a daunting endeavor; this is especially true when traversing the learning curve without expert guidance. A common experience is that too much time and money is wasted on a career plan or application due to misinformation.

The Hartmann Software Group understands these issues and addresses them and others during any training engagement. Although no IT educational institution can guarantee career or application development success, HSG can get you closer to your goals at a far faster rate than self paced learning and, arguably, than the competition. Here are the reasons why we are so successful at teaching:

  • Learn from the experts.
    1. We have provided software development and other IT related training to many major corporations since 2002.
    2. Our educators have years of consulting and training experience; moreover, we require each trainer to have cross-discipline expertise i.e. be Java and .NET experts so that you get a broad understanding of how industry wide experts work and think.
  • Discover tips and tricks about programming
  • Get your questions answered by easy to follow, organized experts
  • Get up to speed with vital programming tools
  • Save on travel expenses by learning right from your desk or home office. Enroll in an online instructor led class. Nearly all of our classes are offered in this way.
  • Prepare to hit the ground running for a new job or a new position
  • See the big picture and have the instructor fill in the gaps
  • We teach with sophisticated learning tools and provide excellent supporting course material
  • Books and course material are provided in advance
  • Get a book of your choice from the HSG Store as a gift from us when you register for a class
  • Gain a lot of practical skills in a short amount of time
  • We teach what we know…software
  • We care…
learn more
page tags
what brought you to visit us
nstore/product,  , nstore/product,  Classes, nstore/product,  Courses, nstore/product,  Course, nstore/product,  Seminar
nearsourcing, reshoring and insourcing
developing talent and expertise at home
Companies are beginning to realize that talent and skills developed within the United States are exceedingly more important for the growth of an organization than the alternative: outsourcing. Considerations include: security, piracy, cultural differences, productivity, maintainability and time to market delays.
In the past, the reason for outsourcing centered on cost savings, lack of resources at home and the need to keep up with market trends. These considerations are proving to be of little merit as many organizations have, consequently, experienced productivity declines, are now finding considerable talent within their immediate location and have realized a need to gain more control over product development.
As strong advocates of Agile/Scrum development, HSG whole heartedly embraces this new entrepreneurial spirit because we know it works and because we believe our country's future weighs in the balance.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.