DEV Community

Anders profile picture

Anders

404 bio not found

Location Sweden Joined Joined on  Personal website http://andershammervald.com twitter website

Work

CTO at Upstream Business Solutions

All 69 comments

You don’t need React for building websites

Not only don't you need it, you more than likely shouldn't ev...

The reasons I don't use Typescript

I wish JavaScript hade the ability to natively do type safe c...

Why do I always feel like I’m too late for all the startup trends?

Most of the trends aren't great so I'd not worry terribly abo...

Convert an array of objects to CSV string in JavaScript

It would probably be wise to have a step where you properly e...

Why do we write JavaScript like this?

That is great, how does that perform compared to what I wrote?

What is your PageSpeed?

Its facinating with EA/Ubi etc given the rather extreme perf ...

What is your PageSpeed?

Absolutely, that is ultimately what matters. If you load stuf...

What is your PageSpeed?

Definitely. It makes you call some "best practices" into ques...

What is your PageSpeed?

As they should, there has been many a time when I've hit ghe ...

What are your biggest frustrations in the hiring process?

The reason is most likely that they want to make sure you act...

What is your PageSpeed?

SEO has been a big reason for me as well (obviously User Expe...

What is your PageSpeed?

For my two main projects, these are the scores (Left Mobile, ...

Playstation Store redesign – the biggest UX Failure of 2020

Certainly it can be a factor, but that seems like an unfortun...

Playstation Store redesign – the biggest UX Failure of 2020

Some developers should feel real ashamed for shipping somethi...

Why limit function size?

I think your variable example there certainly would qualify a...

Why limit function size?

I don't have a line limit at all, it doesn't make any sense. ...

What CSS font-size units do you prefer to use?

Always px

What's the most complex project you have ever done or been part of?

A "CRM" of sorts, integrates with many other solutions, has a...

Making a 'Back to Top' button without Javascript

Very elegant : )

3D CSS Xbox Series

That is awesome : )

The body just half sized

In your CSS set: html, body { min-height: 100vh; } That shoul...

Bloom Filter in Javascript

Never heard of a bloom filter before but its certainly intere...

Do you watch Live Coding?

Jonathan Blow mainly, he is coding a game and his own compile...

Do you watch Live Coding?

Basically daily. To track project progress and for entertainm...

What OS do you use for development?

Windows 10

Different ways to check If Object is empty or not

I'd love to see a benchmarked comparison : )

Daily Challenge #287 - 16+18=214

Old school JS version, not super optimized, but should be fas...

The Price of Currying

Something is definitely going on there to make it such a huge...

TOP 3 thỏi son MAC màu đỏ tươi đẹp nhất - Lisa Cosmetics

You could use localStorage to read and write data to the user...

Capitalize the first letter of every word

This looks like a better version from a performance perspecti...

Why do we write JavaScript like this?

That may certainly be an option if you do bot need to support...

Why do we write JavaScript like this?

The article posts a question "why", and I think there has bee...

Why do we write JavaScript like this?

Hehe, that sounds like the ultimate sanity check =)

Why do we write JavaScript like this?

Thanks for that response. I agree, consistency is key. Whic...

.map( ) .forEach( ) for( ). 👉 Three ways for create an array and push it:

Hi Luca, may I suggest changing the 3rd alternative to the fo...

Why do we write JavaScript like this?

Very clear comparison of the actual performance of the two. ...

Why do we write JavaScript like this?

∘ ㅇ IsModifier(ㄹ x) { ⤴ (howlTemplate ☰ null) ⤬ ⤵ ∀ (...

Why do we write JavaScript like this?

Looked it up just now as well, there are certainly some power...

Why do we write JavaScript like this?

without deep knowledge of how python works that is not intuit...

Why do we write JavaScript like this?

As someone who has never used python, do you have any specifi...

Why do we write JavaScript like this?

Good points for sure. I'd argue the short version has two var...

Why do we write JavaScript like this?

Roger that, I thought you had some extra magic in store there...

Why do we write JavaScript like this?

I'm not entirely sure I follow, how would that look? I do ag...

Why do we write JavaScript like this?

Maybe that is part of the cause for sure, and personally I fe...

Why do we write JavaScript like this?

So true, that is our never ending challenge =)

The text won't scale with CSS scaling

You should probably look into media queries and adapt your CS...

What is your database of choice?

PostgreSQL, has been rock solid since the start. (Prior to th...

Why do we write JavaScript like this?

Quite possibly you are right there, its just "the pattern" th...

Why I should use Typescript other than 'type safety' advantage?

From my perspective type safety isn't even the thing you'd ca...

Why do we write JavaScript like this?

This is exactly the discussion I want us to have =) as for t...

React Infinite Scroll Tutorial: With and Without a Library

Yeah, or write a tiny abstraction on top of the code that is ...

React Infinite Scroll Tutorial: With and Without a Library

developer.mozilla.org/en-US/docs/W... Not supported in IE11 ...

Dev.to's new UI 🔥

Very nice, I've been waiting for something like this for a lo...

Dev to QA ratio

As promised all those months ago, here are finally the resu...

Daily Challenge #95 - CamelCase Method

function CamelCase(s) { var uppercase = true; var ...

Daily Challenge #93 - Range Extraction

This is my take on this one, longer code, hopefully easy to...

Daily Challenge #59 - Snail Sort

So there was supposed to be an image attached, but it doesn...

Daily Challenge #59 - Snail Sort

A different take, this one might not appear as elegant, but...

Javascript String Methods: Reimplementing trim 💪🏾

I really like the concept here, teaching how to make the "b...

Image optimisation

The links to the other parts in the series do not seem to w...

Why do recruiters ask for current salary?

Either so they can lowball their offer, or alternatively ma...

What was your win this week?

This week, I removed a few hundred lines of code while refa...

Has C++ aged badly?

That seems to be the consensus from all the game devs at le...

Dev to QA ratio

Thanks, so that does seem roughly inline what we have going...

Dev to QA ratio

Thanks for your input Jesse. Yeah, I am starting to think ...

Breaking Down JavaScript Solutions To Common Algorithmic Questions (Part 1)

Nice work. Would love to see actual performance of each met...

Speed Tip: Use Typefaces.js in Gatsby to Locally Host Fonts

You can also directly reference the font files Google serve...

Fighting boredom with a HyperApp experiment

Absolutely, I think its always important to be aware of dif...

Fighting boredom with a HyperApp experiment

I am really loving this trend towards more minimal framewor...

loading...