DEV Community

emptyother profile picture

emptyother

Classic nerd: Books, D&D, Computers.

Location Oslo, Norway Joined Joined onΒ  Personal website https://onlyhuman.dk github website twitter website

Work

Developer at ExorLive

All 64 comments

Why you should learn C++ for game development

Someone mentioned to me game programming in Rust recently. It...

JavaScript: Default function Parameters

Note that when passing the value null, it is not replaced wit...

3 reasons to use 'var' in JavaScript

Nobody want to dig up and rewrite their 10 year old productio...

3 reasons to use 'var' in JavaScript

6 years is nothing! I've seen PHP tutorials with methods 18 y...

3 reasons to use 'var' in JavaScript

Two "good" reasons I still use var: ~Old projects that need...

Vscode is finally available in the browser

It also exist on github.dev. Best part: Press . in any of yo...

Learn Deno: Chat app

Got this example working in Deno 1.0.0 with debugging and bre...

A Simple Argument For Typescript

I think typescript should always be used. In build scripts, b...

Where do you store your IMPORTANT passwords?

Ah, password managers. Low and medium important passwords I...

Code navigability?

I prefer more files over longer files. Its easier to merge....

How to build a PWA from scratch with HTML, CSS and JavaScript ?

WebExtension API and PWAs uses a deceptively similar manife...

Handy Tools for Writing JavaScript Apps You May Have Missed

I install devdocs.io as a PWA. Quick (and keyboard-navigata...

13 ways the Internet is broken - #9 will shock you!

Tumblr is one of the bigger sites I know about putting sign...

What tech did you use to build your personal website/portfolio?

My blog is currently NOT using a Metalsmith static website ...

Paper as a Platform

Making an okay-looking printable version of an article is r...

What would a JavaScript Wasm desktop be like?

It would probably take as much ram as KDE (sorry I didn't f...

Which Linux Desktop Environment will be the best for you?

TIL. Thanks, I gotta take a look at this the next time I tr...

Which Linux Desktop Environment will be the best for you?

Xfce was the one i got to play best with x-server when tryi...

Typescript Partial<T>, where have you been my whole life?

Completely forgot that one exists. Symptom of working too m...

Typescript Partial<T>, where have you been my whole life?

I normally use Partial&lt;T&gt; interface when making class c...

WhatΒ΄s worse than being an imposter?

if I'm not competent enough for my position then I'll just...

%, px, em, rem, viewport...How to know which one to use in CSS for responsive design?

I have had good experience with using mostly EM for heights...

The Prototype Pattern in JavaScript

..which is equivalent to the code below, a typical class obje...

Migrating to TypeScript

My rule is that a functions' input and output should always...

Migrating to TypeScript

const textBox = &lt;HTMLInputElement&gt;document.getElementB...

Introduction to YAML

So YAML does for JSON what Markdown did for HTML. But I'm ...

TSConf 2019: Types on every desk, in every home, for every JS developer

If you know javascript ES6, you already know most of it. An...

Clean code... Why bother? - Part 2

a) How much more messy code I've written in my attempts at ...

How to Write Useful Commit Messages (My Commit Message Template)

He said 50 this time.. Our terminals are shrinking. 😱 72 i...

How to Write Useful Commit Messages (My Commit Message Template)

How would that work? Replace βœ” for "fixed", πŸ†• for "feat", πŸ“„ f...

Stop Console.Logging! This is How to Use Chrome to Debug JavaScript

I'm gonna go a bit against the grain here and say that I ag...

What is your preferred keyboard for programming?

What I look for in my primary keyboard is red back-light. O...

Unhealthy Code: Null Checks Everywhere!

Do your code ever do things differently based on if a varia...

Unhealthy Code: Null Checks Everywhere!

Undefined in javascript is what null is in other languages....

The Semantics of Falsy Values

If null means something doesn't exist, is there a reason f...

Differences between "null" and "undefined" keywords?

The new optional parameter for ES6 only cares about undefin...

VS Code extension that shows the initial value of a CSS property

Quick request: LESS support. 😊

7 Exciting New JavaScript Features You Need to Know

Agreed on the private field prefix. I kinda hope typescript...

21 VSCode Shortcuts to Make Coding Faster and More Fun

Can recommend the Contextual Duplicate extension. Got it bo...

Typescript: First thoughts

I disliked js.I never liked writing frontend code until types...

Understanding JavaScript async/await in 7 seconds

We still need to wrap the method in an arrow function to ke...

What have you crashed?

I learned myself Entity Framework half a year ago because I...

What does your Terminal look like?

Old school gamer! But would love to have proper and col...

What goes to default section of your code?

I usually prefer placing an exception there. In typescript ...

What programming best practice do you disagree with?

I think 80 is just for encouraging good practices. Some peo...

What's your coding origin story?

1992: 7 year old kid with an old Commodore 64, no games but...

How I Write Source Control Commit Messages

When writing commit subjects I found a good tip saying to s...

How I configure VSCode for Everything

The aspnet debugger is an external extension so isn't affecte...

Native Lazy Loading for <img> and <iframe> is Coming to the Web

I think it would make sense to put that as a CSS pseudo-cla...

Do You Remember Your First Coding Experience?

At x-mas 1992 I was 7 year old and got an old Commodore 64 an...

Ever been stumped by <E>, <T>, <K, V> in OO language documentation?

Thanks! I've been using &lt;T, U, V, ...&gt; when i wrote g...

Think Like a Programmer??

Agree. "The code works, but there must be a simpler/more ma...

A Developer's Diet

Tried various tea's, no luck so far finding one i can stoma...

A Developer's Diet

I miss tea, but have become intolerant (or allergic) to it....

Are you an introvert, extrovert, or somewhere in between?

Introvert. And a few social anxieties. A lot of people ass...

Must have extensions for VS Code (according to me)

Thanks for a few good suggestions. If you write a lot of j...

Explain what is DB indexing like I'm five

Every person in my country is registered in a database. Thi...

Any rules, tips and tricks for commit message

I do it like this, and Jira seems to be able to pick it up:...

Any rules, tips and tricks for commit message

The best tool ever to create a neutral and understandable c...

Any rules, tips and tricks for commit message

No need to prefix, you can add Jira's ticket id to the comm...

loading...