javascript
Latest Posts
What is the best way to check for an empty string in JavaScript
What is the best way to check for an empty string in JavaScript

A student recently asked me what the best way to check for an empty string in JavaScript was. I answered in the best way that I knew how and gave various methods that check for empty strings, such as checking for the value and checking the length of the variable. This left me wondering for some time after our conversation how accurate I was with my answer. And while usually code is left to subjectivity many a time, there must be one method that leans more towards the best practice or at least to improved performance.

Continue reading
How to add sorting to any table in JavaScript
How to add sorting to any table in JavaScript

And you never thought that algorithm class from college was going to pay off. In this post I'll be going over how to add the ability to sort to any table in JavaScript. All you will need to do is to add the sorting class to the specified table that you wish to add sorting to and then watch the magic happen.

Continue reading
A Quick Guide To JavaScript Touch Events
A Quick Guide To JavaScript Touch Events

This post won't make much sense unless you have a touchscreen!

Touch events have been around for some time now, and I feel they are not being used enough on mobile versions of sites. From swiping to scrolling to manipulating DOM elements, they are incredibly easy to implement and can definitely take us away from the traditional route of just vertical scrolling and button clicks that we default to today.

Continue reading
Building Tetris In JavaScript Part 2
Building Tetris In JavaScript Part 2

Welcome to part 2 in this building Tetris tutorial. If you missed part 1, feel free to check it out here. In this second part, we'll be finishing up the project by adding collision detection to each Tetris shape, generating new blocks, rotations and detecting when rows have been filled and collapsed.

Continue reading
Coding Tetris In JavaScript Part 1
Coding Tetris In JavaScript Part 1

Tetris is one of the first games that many of us played as a youth. It's fun and challenging and a level can take you from anywhere to a minute to forever if you so play your cards right. So in honor of the game, in this blog post, we'll go over how to build a Tetris clone in JavaScript without using any 3rd party libraries. Just plain old vanilla JavaScript and CSS.

Continue reading
Google Maps and Markers 101
Google Maps and Markers 101

There is no better way to share a location than with a map and a marker on it. The universal indicator of map based location in this and age. So today let's go over how to generate a map on your website using the Google Map JavaScript API, and how to add markers wherever you wish to mark your place.

Continue reading
How To Code Blackjack Using JavaScript
9
How To Code Blackjack Using JavaScript
How To Code Blackjack Using JavaScript

Today I will be building a small BlackJack game in pure JavaScript in the hopes that you out there reading this can use it as a frame to build something much bigger. And if you're a beginner in the programming world, than perhaps this tutorial will help you get a much better idea of how function, objects and DOM manipulation works in JS. Enough words, more code.

Continue reading
How To Create A Rain Effect Using Crafty.js
How To Create A Rain Effect Using Crafty.js

In this post I will cover how to create a rain effect using the JavaScript game engine, Crafty.js, for a 2D side-scroller type of game. If you're new to Crafty, then feel free to check out my previous posts in which I cover the framework from a beginner's perspective.

Continue reading
Play My Classic Snake Game
1
Play My Classic Snake Game
Play My Classic Snake Game

On this rainy day in Los Angeles, stay home, drink too much coffee and enjoy a classic game from our teen years (maybe). I coded this snake game clone some time ago, and still find myself coming back to it from time to time. It isn't finalized just yet, but it is for sure challenging and it is playable.

Continue reading
Drag And Drop Image Upload In JavaScript

File Uploads have yet to really catch up with the times and with technology. Many reasons for this. Security being a major one. It's an open door between the outside world and a server. And we can't just let any old file through to wreak havoc, if havoc is what it's there to wreak. So today I will be going over how to implement a file drag and drop module on your sites.

Continue reading
Load older
Guest Posts
exciting ways to improve your software knowledge
exciting ways to improve your software knowledge

You might be keen to learn more about software and different advanced technologies, improving your knowledge. This is certainly worth doing as it will provide you with a fantastic advantage if you want to gain a position in the IT industry. This is one of the fastest growing industries in the world today and it doesn’t look like things will be slowing down anytime soon. On top of this, discovering more about software and technology will provide you with the option to gain higher positions in IT for larger levels of pay. So, there are certainly various benefits to doing this. But, how can you improve your knowledge? Well, there are a few paths that you may want to consider taking.

Read more
there's a smarter way to make money
there's a smarter way to make money
There's a Smarter Way to Make Money

There’s a smarter way to make money than swapping time for money, and most programmers already understand the power of financial leverage in the sense that rather than earning $100 as an hourly wage, it is much better to develop an app, be that an SAS app or paid iPhone app that can then be downloaded or subscribed to multiple times without you having to do any extra work - particularly if the revenue is recurring.

Read more
pain waves: can data hurt?
pain waves: can data hurt?
Pain Waves: Can Data Hurt?

If you live in a modern city or town, like most of the world’s population, your body is no stranger to the bombardment of data which objects in these areas have to endure. With the vast majority of people’s internet signals being wireless, radio and telephone services constantly active, and all of the other radiation-based transfer methods being used, it’s hard to avoid it. Over the last few years, this has raised a lot of questions about safety, leaving people worried that data could be damaging their body. To help you to understand this area, this post will be exploring wireless communications and transfers, all while answering the big question; can data hurt?

Read more
app inspiration: gaining valuable insight from non-competing brands
app inspiration: gaining valuable insight from non-competing brands
App Inspiration: Gaining Valuable Insight From Non-Competing Brands

When creating an App for your business (or a client), there are many different factors to consider. First and foremost, it is imperative to build a unique piece of software. Still, there’s nothing wrong with gaining inspiration from products that are already on the market.

Read more
traps not to fall into when selling your hard drive
traps not to fall into when selling your hard drive

If you have a few old hard drives lying around, you might be thinking about selling them to make some extra cash. However, there are a few traps you can end up falling into when you decide to sell your hard drive that you’re going to want to avoid. A study has recently shown that people who sell their old used hard drives and SSDs aren't taking the steps they need to take to wipe data from them. This is dangerous for obvious reasons; one of the biggest ones being that the buyer can access personal information, and even corporate data in some cases.

Read more
development mistakes that will ruin your app
development mistakes that will ruin your app

When developing an app, whether for business or an entirely different purpose, there are a few mistakes that will ruin your app completely. Read on for some common mistakes that you should do your best to avoid:

Read more

About Me

Walter Guevara
Walter G.
Walter G. is a software engineer with over 10 years of professional experience. When he isn't blogging or being a CTO he enjoys coding randomly complex things that he hopes many people will get a chance to use one day.
Podcast
"sometimes you have to delete, to find your answer"
Copyright © 2018 thatsoftwaredude.com
humans.txt
TOP SCORES
Score in the top 10 and leave your Instagram handle.
Start
0
snake left
snake up
snake down
snake right