Skip to main content
  1. Posts/

Problem Solving in Programming with if and Logic Statements

Joe Erickson
Author
Joe Erickson
Senior software developer specializing in web development, AI, and helping others learn to code.

Here’s a video I put together about Problem Solving. I think this is one of those topics that beginning programmers struggle the most with sometimes and this demonstrates a couple of techniques you can use to help you solve programming problems.

I tackle the sumDouble and sleepIn problems from CodingBat.com.

Related

What to learn when you want to learn web development

·1067 words·6 mins
I’ve seen a lot of posts on /r/learnprogramming and other places wondering how to get started with web programming. I’ve been doing this for about 15 years now and I’m here to give you some good news. Everything that I’ve done, from bill pay sites for Fortune 100 companies to lead tracking applications for small businesses, is essentially based on one simple concept and that’s CRUD.

Java: Unstrung

·452 words·3 mins
So Strings are built for optimisation, but are you using it in an optimised way? If you understand interning and immutability, you can start looking at ways to use those features to your advantage.

Java: The Unchangeable String

·526 words·3 mins
One of the fundamental data types in Java is the String. In fact, it’s used so often that most people don’t even think much about what a String is or how it works. But a String Object works like no other object in Java in two important ways; immutability and internment.