Henrik Jernevad

@henrikjernevad
171 Followers
87 Following
829 Posts

Software architect and developer with a passion for simple, effective solutions.
Focus on software design and backend development.

Tech: #typescript #kotlin #java

Web pagehttps://henko.net/
Bloghttps://henko.net/blog/

I made a quiz about the JS Date parser. It's very easy and you will score very high.

https://jsdate.wtf

new Date("wtf")

How well do you know JavaScript's Date class?

jsdate.wtf

Any #TOML nerds? Would you say this is valid TOML? (I'm building a parser.)

```
inline = { array = [ 1,
2 ] }
```

The spec says "No newlines are allowed between the curly braces unless they are valid within a value."

This includes multi-line strings, but do you interpret it to permit newlines in an array? The array itself is technically a single value inside which newlines are valid. It is obviously not "in the spirit" of inline tables but the ABNF grammar allows it.

#programming #parser

Curious about why #Microsoft thought it was a good idea to throw away the term "remote desktop" which had been established over ~20 years, and replace it with the amazingly vague and generic "Windows App". 🙃

once you have mastery, you can half ass things correctly, because you know which half of the ass you need

Building a basic tokenizer in Kotlin Somehow this felt a bit dirty... 😉

private fun peek(): Token {
// ...
}

#kotlin #programming

Let’s say you’ve just finished a major software project that took a year to complete. How long would it take you to write the exact same system again?

Probably no more than a third. My latest blog post discusses why.

https://henko.net/blog/most-of-the-time-is-design/

#programming #softwaredevelopment #softwaredesign

"Argh! The developers are so difficult. They always ask so many questions. Why can’t they just do what I asked them?"

When developers ask difficult questions it is often a sign that they care. This is the topic of my latest blog post.

https://henko.net/blog/why-developers-are-so-difficult/

#programming

Why developers are so difficult 🤬

When developers ask difficult questions it is often a sign that they care.

Henrik Jernevad

I enjoyed Jeet Mehta's take on writing even though few people will read what you write.

https://www.jeetmehta.com/posts/thrive-in-obscurity

In particular, his take on using yourself as proxy for the audience resonates with me.

> Your audience is just you, pushed outwards.

I write things that interest me. Hopefully, it will be interesting to other people too.

Thrive in obscurity

The path to creative mastery begins with years of silence. Publish anyway.

When you start a garden, you focus on what to grow. Maintaining a garden, however, is much more about killing what’s unwanted.

Software development has a similar trajectory. #programming

This rings true to me. I've previously worked at places where the work I started was decided six months ago. But don't worry, we did "agile"! 😝

Doing what you think, not what you thought https://world.hey.com/jason/doing-what-you-think-not-what-you-thought-60bb5bef

Doing what you think, not what you thought

Whenever I talk about working in real-time, making decisions as you go, figuring things out now rather than before, I get a question like this... “"If you don't have a backlog, or deep sets of prioritized, ranked items, how do you decide what to do next?"” My answer: The same way you do when your made your list. You make decisions. We ...