by Jun | Jan 9, 2017 | App Development, Code
I’ve been thinking recently about the naming conventions I use while coding, and I noticed I tend to follow pretty strict naming standards so I don’t have to put much thought into picking a name. While standards are usually good for readability, too many...
by Jun | Sep 22, 2016 | Programming
So in part 1, we talked about different ways to represent languages in general, and in part 2, we talked about what a regular language is and how to use regular expressions to describe a regular language. Now I want to introduce another way to visualize a regular...
by Jun | Aug 26, 2016 | App Development, General
We recently received a ticket for a project requesting phone number validation in some forms. Seems like a simple enough problem to solve, right? Well, it’s not. Even with existing libraries that claim to handle phone validation, the more general the validation...
by Jun | Jun 21, 2016 | Code, Programming
So we’ve discussed what a language is from a computer science theory viewpoint in part 1 of this series, and we have 2 ways of representing languages: Set notation: {λ, a, aa, aaa, …} or {a^n | 0 <= n} for short, and grammar production rules: {S ->...
by Jun | Jan 25, 2016 | Code, Programming
Most programmers have used, or are at least aware of, regular expressions and how they work. But, fundamentally, what is a regular expression? Well, to understand that, we’ll have to understand a few core concepts. First, we need to know what an alphabet is....