What I learned about code efficiency


When I just started to code I discovered how beautifully logical and tidy you could build software. I grew convinced that good software should be like paintings, sculptures, digital haiku’s. I started to apply conventions in my code which I then deemed very important! Correctly indenting, coding in paragraphs, using curly brackets with all if and else‘s even if only one line would follow. I used to make a big issue about whether or not to use a semicolon after every line of code.

Continue Reading

Let people experience your app’s benefits without signing up

Taste-before-you-buyI love to try new things! And I’m in luck; because I’m a web developer there’s at least six new things to try almost every week 🙂 As much fun as it is to look at all the things better developers than myself make, it can also be a bit distracting at times. The same goes for the sheer amount of programming that goes into even a seemingly simple app. Especially when you’re trying to build out a sonewhat more complex app, it’s easy to lose sight of the goal(s) you are working towards. You are on top of so many details, you need to work out so many user flows that you might forget how an actual user of your app will perceive it.

And it’s hard, it’s really hard. You can tell that it’s hard by the way a lot of online apps work. Some of the simplest apps start by asking you for your profile information before you even start to get a glimpse of what it’s supposed to do or how it works.

Continue Reading

5 important security measures every web developer should know and use

BIR62RGGjGxN5nrbnzwu_3Security for web apps is not “an option”.

When you are developing an app you need to take security into account from the very first lines of code. One of the most important things I like to keep top of mind is that you don’t know who your users will be.

Never trust a user.

They can be less web savvy than you, bringing so much clunkiness to your app that it breaks. That’s not their fault, it’s not your job to tell them to change their behaviour.
Continue Reading

So, what is it you actually do? I mean, when you “program”…

According to the definition found on Wikipedia:

The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem.

If the purpose of programming is finding then programming itself must be searching right?

I wonder why they’ve used finding as the verb here. (Maybe it’s just my lack of understanding proper English.)
Looking at the first of the two goals, performing a specific task, I would think that searching for a sequence of instructions a little weird: If you want to perform a specific task you probably know what the task entails. So there’s not much to find, is there?

Continue Reading

What changed when we entered the “no computer” age?

wi9yf7kTQxCNeY72cCY6_Images of Jenny LaceThe first time I read about “getting the computer out of the way” was in a review about the first iPad. The iPad wasn’t very impressive by itself. It took the stuff you already did on your laptop and transferred it to a smaller machine.
Something the computer industry had actually been doing for quite a while. According to Moore’s law, computers double their amount of transistors every 2 years. You can either choose to make them faster or smaller.
But there was something else as well. Something not so easy to put your finger on.
Most people didn’t care much for the machine. My wife declared me a fool for wanting one. I’d made some money with a game I made for the iPhone and I “invested” it in an iPad. A couple of weeks later she was using it more often than me 🙂

Continue Reading

Data inflation

5milmkbkYou know how some countries just keep printing money? They see their money deflate and deflate more and more over time. You end up with insane paper bills of 10 million somewhollars or 2.5 gazillion whateverollars that still only buy you a cup of coffee and a morning paper. (would be pretty meta if you end up with a paper note pad costing more than it’s equivalent amount of paper money. How would that work?)
This is called hyperinflation. Countries who go through such a period need a reset now and again. For instance, Germany experienced hyperinflation right after WW1 and had it’s biggest devaluation of the Deutsch Mark in 1923.

Just one year earlier Germany’s “biggest” bank note was 500 Marks. In 1923 the biggest bank note was one hundred billion Marks, that’s a 1 with 14 zero’s! Continue Reading

Not Just Spinning the Wheels

Spinning roundaboutSome co-creators in Gumroad’s Small Product Lab were talking about the Fizzle show podcast. After listening to a couple of (really funny) episodes, I realised this couldn’t have come at a better time. For quite a while now I’ve been feeling like something was a little bit off in my work. Working with customers I love on projects I really care about, making a decent living. That doesn’t sound like “off”?! What am I whining about then? Continue Reading

Avoiding Awkward – 7 Tips on How To Keep Your Customers and get them to Pay You On Time

Avoiding Awkward coverSo there it is, my first book: “Avoiding Awkward – 7 Tips on How To Keep Your Customers and get them to Pay You On Time”. Churned out in 10 days during Gumroad’s Small Product Lab. I wanted to write “10 short days: But that’s bull of course, even though they felt really short. I don’t have to tell you that every day is as short or long as blah blah blah.

Joining this challenge has tremendously increased my respect for all who build up the guts to write about their own experiences, especially when the experiences they write about aren’t all that great and successful. There’s dozens of great quotes about failures and how success is built on top of it, but putting your f-ups out there feels pretty awkward. Continue Reading

10 days to Create and Launch: Gumroad’s Small Product Lab

Small Product LabI’ve got about 6 or 7 online services at 85% of completion. Next to the dozens of started side projects that never got beyond the initial “Yeah, this sounds great, let’s give it a try!” part. I’m definitely not unique, every developer friend has a large number of side projects on their laptop.

Why is that? Why do developers not finish their side projects? Is it just that the last mile is the longest?

Or is it something else? Continue Reading

The difference between a long page and a long text

large_157314859They say that you can always find your way out of a labyrinth by keeping one of your hands at the wall from the moment you walk in. It doesn’t matter if it’s your left or your right as long as you don’t change hands somewhere along the way. It’s a guaranteed way out… But it seems the most boring way to walk a labyrinth.

Continue Reading