Some of you who follow me may have noticed a tendency of mine to “hack” programming languages more than really use them (other than reflection via annotations in languages such as Java; I hate that stuff), and today is no different. Today, we look as using what would be normal higher-order functions as Python decorators to create new functions that encapsulate the idea of both the higher-order function as well as the passed-in function under one name. Continue Reading
It’s been a crazy year for me. Loads of excitement and disappointment all around. First off, in July 2016, I lost my job at my first real programming gig due to cutbacks. Luckily, I had saved up about 3 months worth of minimal living expenses, and besides that, I had paid off my credit cards enough to use them for extra cushion. I got a temporary job with Best Buy for about a month starting in mid-late December 2016 until mid January 2017 helping out with delivery and installs of home theater equipment. This was nice, as it got me up to date on what’s available in the market, but it really did not last long. Continue Reading
Introduction
Man, I’ve had this idea in my head for more than a month now (luckily I wrote it down, too), waiting until the day I wrote this post. I didn’t write it because I was busy with the move and new job, but now things are finally settling down!
Here’s the thing: When you really dig into it, proper object-oriented programming and functional programming are pretty similar. The biggest difference is that object-oriented programming likes to use encapsulation to hide the real data behind facades of objects – requiring you to define methods attached to the type that know about private details – while functional programming is quite up front about it all – making it so that you generally get switch-like structures (but WAY better) that allow you write one function to handle all of the different types. Continue Reading
Okay, so you may know that I recently got a new job, and because of it, I moved to a new area. Well, I’m fairly settled in now and will start to post again. It still won’t be completely regular. First, I’m still working on my next book. Second, I’m still trying to figure out what activities I’m going to be regularly scheduling into my life at the end of the day. This blog will be a part of that for sure (I’ve got a few ideas I really want to get out!), but I do still need to focus on my book.
This Saturday, I’ve got a new post lined up for you, so get hyped and check it out!
Yeah, I did it again; I went several weeks (more than a month!) without posting anything. This time, it’s not laziness, I promise 🙂
I started a new book! This book will be on how design patterns evolve when functional programming (specifically first class functions and lambdas) mix in with an object-oriented language. I’ve already got several chapters written!
I also got a new job! I’ve been pretty much unemployed (and underemployed) since July of last year (so, for over a year now), but I finally found a job! It’s an exciting opportunity, but I have to move 2.5 hours away, so a lot of my life will also be devoted to getting ready for that.
I have a few blog posts planned out for you guys, and maybe I’ll get to them soon, but don’t expect anything before I’m done settling in, early in September.
Lastly, I’d like to get my spare book copies out, so I’ll just go with the simplest way to get rid of them: ask for them in the comments! I have 8 left. Just comment below, include your email address, and I’ll contact you privately to get your shipping details. This is first-come-first-serve.



