blog RSS

The Programmer Blog is here to help you, the programmer. We do our best to provide useful resources that offer explanations to popular programming problems, across a variety of programming languages. If you would like to suggest a blog topic or have a question, please leave us a message.

async, Javascript

JavaScript - Understanding AJAX calls

For anyone starting out let's explain the exact meaning of "ajax". To start let's understand that "AJAX" means Asynchronous JavaScript And XML. This means we are sending an asynchronous call to the server using JavaScript and returning XML, or JSON in modern programming. The request to an API endpoint (ex. MVC Controller method) will return a JSON or XML object which will...

Read more

BookGuide, C++

C++ - Book Guide For EVERY Programmer

Here is a quick list of the top C++ books to get you started from beginning to end. This list of C++ books is a collaborative effort and has been compiled from a variety of sources If you would like to suggest a book please don't hesitate to message us. Enjoy! Beginner C++ Books Introductory, no previous programming experience C++ Primer  (Stanley...

Read more


Git - How to undo the last commit

Removing your latest commit from your local (or remote) Git repository is a common task when you've committed the wrong files and/or code. Here are a few short and sweet examples using Git that show how to undo a commit (without twelve paragraphs of theory explaining it).   Undo last commit from local Git repository Problem You just executed a git commit. You did not execute a git...

Read more

Super Bowl 52 Deal - 20% OFF

Enjoy Super Bowl 52 with some new Dev Gear! Take 20% OFF any order until midnight. SUPERBOWL52 Use coupon code SUPERBOWL52 during checkout and get 20% OFF any purchase. Expires 2/5/18.

Read more

c#, c# iterate dictionary, c# loop through dictionary, Dictionary, foreach, iterate

C# - Iterate over a Dictionary

This tutorial will explain how to iterate a dictionary in C#. But before learning to loop a dictionary we will first learn to initialize a dictionary. We also touch on using LINQ to manipulate key value pairs.  Initializing an example Dictionary So first let's initialize a sample dictionary, named exampleDictionary. We will populate it with two key value pairs as shown below. Also remember...

Read more