Programming Ideas With Jake

Jake explores ideas in Java and Python programming

  • About
  • Book Reviews
  • Hamcrest Tutorials
  • Kotlin
  • Browse Old Articles
  • Python Descriptors Book

A Weird (and Mostly Impractical) Way to Do Multi-Line “Lambdas” in Python

Posted by Jacob Zimmerman on 2018-01-13
Posted in: Meta, Python. Tagged: decorator, functional programming, higher-order functions, python. 2 Comments

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

My Ups and Downs in 2017 (and a Call for Help)

Posted by Jacob Zimmerman on 2017-12-31
Posted in: Books. 1 Comment

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

A New Idea For Functions

Posted by Jacob Zimmerman on 2017-10-14
Posted in: Functional Programming, Kotlin. Tagged: functional programming, functions, OOP, procedural, self. 3 Comments

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

I’m Back!

Posted by Jacob Zimmerman on 2017-10-09
Posted in: Uncategorized. Leave a comment

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!

Announcements!

Posted by Jacob Zimmerman on 2017-08-07
Posted in: Books, Uncategorized. 3 Comments

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.

Posts navigation

← Older Entries
Newer Entries →
  • Python Descriptors Book

    View RSS Feed

  • Check Out My Book!

  • Upcoming Posts

    No upcoming events

  • Upcoming Events

    No upcoming events

  • Want to Browse Old Articles?

    You can find them here!
  • Ads

    Free Trial of Audible for a Month!

    If you already have an Audible account and want to help me a little, you can use my affiliate link to go shopping on Amazon while leaving me a tiny cut automatically :)

    Pay for My Shave

    Join the Dollar Shave Club to earn me $5 to use on their site

    I don't really like ads, so you should know that I only post these ads because I'm a very satisfied customer of their products. I don't feed my ads in from some silly service.
  • Affiliated Aggregators

    Java Code Geeks
    Web Code Geek
    Planet Python

    If you know of any other blog aggregators that might be willing to add my blog, let me know by emailing me at jacobz_20 at yahoo dot com.

Blog at WordPress.com.
Programming Ideas With Jake
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Programming Ideas With Jake
    • Join 41 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Programming Ideas With Jake
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Design a site like this with WordPress.com
    Get started