Musing Mortoray

Programming and Life

Menu

  • About Edaqa
  • What is Programming?

Your 30th Year in Code

By mortoray

Why switch is better than if-else

By mortoray

Fluid layout animation: Invalidation and caching

By mortoray

Creating a custom author box on WordPress

By mortoray

Your 30th Year in Code

By mortoray on 2019-08-02 • ( Leave a comment )

Why switch is better than if-else

By mortoray on 2019-06-29 • ( 2 Comments )

Fluid layout animation: Invalidation and caching

By mortoray on 2019-06-24 • ( Leave a comment )

Creating a custom author box on WordPress

By mortoray on 2019-06-13 • ( Leave a comment )

A Failed Experiment with Python Type Annotations

By mortoray on 2019-06-11 • ( 24 Comments )

A Parade of Web Tech

By mortoray on 2019-05-12 • ( Leave a comment )

Your 30th Year in Code

By mortoray on 2019-08-02 • ( Leave a comment )

Becoming a programmer can be a daunting task. After reading Your First Year in Code, you might wonder what awaits you long term. My book, What is Programming covers more of the […]

Why switch is better than if-else

By mortoray on 2019-06-29 • ( 2 Comments )

In Ben’s post, he questions whether switch statements are cleaner than if-else chains. I contend they are, because they better express the semantics of the code, allow less room for errors, reduce […]

Fluid layout animation: Invalidation and caching

By mortoray on 2019-06-24 • ( Leave a comment )

Dynamic changes in layout properties, either because of user actions, or animations, requires a recalculation of the layout. Maintaining a stable frame rate during recalculation is challenging, as the layout process is […]

Creating a custom author box on WordPress

By mortoray on 2019-06-13 • ( Leave a comment )

How to use custom short-codes to create an author-box in a template.

A Failed Experiment with Python Type Annotations

By mortoray on 2019-06-11 • ( 24 Comments )

I like Python, but wish it had static typing. The added safety would go a long way to improving quality and reducing development time. So today I tried to make use of […]

A Parade of Web Tech

By mortoray on 2019-05-12 • ( Leave a comment )

Perhaps I wrote that I don’t know how to create a website, but glancing back, I certainlyhave built a lot. And oh boy, there’s quite the variety of technology involved. I thought […]

Terrible interview question: Swap variables without a temporary

By mortoray on 2019-04-25 • ( 1 Comment )

“Clever programming tricks have no place in programming interviews. They usually involve a small amount of code and solve an innocent-sounding question like “find the loop in a linked list”. Often unfair […]

A programmer’s introduction to user portraits

By mortoray on 2019-03-28 • ( Leave a comment )

  As programmers, it’s vitally important for us to understand what our code should be doing. This knowledge starts with knowing the people using our product. While we’re deep in the code, […]

The amortized cost of vector insert is 3

By mortoray on 2019-03-26 • ( 6 Comments )

C++ requires many algorithms to be implemented in amortized constant time. I was curious about what this meant for vector insertion. To get started I first wrote an article about amortized time […]

Lessons learned from recording my first class

By mortoray on 2019-03-22 • ( Leave a comment )

I published my first video class, How to Write a Great User Story, something all programmers should know how to do. Even though the class only went live recently, there’s already a […]

The Internet Lottery™ for content creators

By mortoray on 2019-03-13 • ( Leave a comment )

Your cursor hovers over the post button. This will be the one. You researched it, you checked it, you got the graphics, and you have the audience. Today you’ll have that successful […]

Invented here syndrome

By mortoray on 2019-03-06 • ( 21 Comments )

Are you afraid to write code? Does the thought linger in your brain that somewhere out there somebody has already done this? Do you find yourself trapped in an analysis cycle where […]

Essential code for lists and vectors in an interview

By mortoray on 2019-03-01 • ( 1 Comment )

“Lists are perhaps the fundamental data structure in code. There’s virtually no program that doesn’t use lists. Interviewers love asking questions that involve lists, either intentionally, or just because almost everything uses […]

Stop waving the wand of magic numbers

By mortoray on 2019-02-25 • ( 9 Comments )

37. You have no idea what that number is, do you? A number without context nor a label is a random value. It doesn’t tell us anything. Imagine walking by a billboard, […]

Posts navigation

1 2 3 4 5 6 … 18 Older ›

Read My Book

Do you know what it takes
to become a great programmer?

  • People are the reason software exists.
  • At the heart of any software is source Code.
  • Behind the screen is a real person: You.
Read Now
 

Follow Me

Like my work?
Signup to my mailing list
  • Instagram
  • Twitter
  • Medium
  • LinkedIn
  • Facebook

Search

Recent Posts

  • Your 30th Year in Code
  • Why switch is better than if-else
  • Fluid layout animation: Invalidation and caching
  • Creating a custom author box on WordPress
  • A Failed Experiment with Python Type Annotations

Several links on my site are affiliate links to Amazon.

🇺🇸   🇨🇦   🇫🇷   🇬🇧   🇮🇳   🇩🇪
As an Amazon Associate I earn from qualifying purchases.

Hosted by WordPress.com.

I use Netim and Hover for domain names.

  • Top categories: Programming leaf
  • Social links:
    TwitterFacebookGoogle+TumblrLinkedIn
Create a website or blog at WordPress.com |
Cancel