DEV Community

loading...
Sebastian Vargr profile picture

Sebastian Vargr

I find broken' code and fix it. Sometimes it even works after i am done.

Location Hiding in your closet Joined Joined on  github website

Work

McGuffin maker, Senior team lead, rubber duck

Last 250 comments

5 Must Know Lodash Methods

debouncing is not Lodash tho, it’s part of the library by pra...

Typescript vs Javascript : Which one should you use for your next project ?

Nether are better. :) I suggest we stop trying to compare ha...

5 Must Know Lodash Methods

Recommendation: Do not use Lodash in current year. Like othe...

Why I switched from normal CSS to Tailwind CSS

Nice, thank you for taking the time to get these numbers. :)

Why I switched from normal CSS to Tailwind CSS

This is true with gzip compression, do you think brotli makes...

The Technical Debt explained with a kitchen analogy.

Converting code debt to money or hours of work is legit the b...

Why I switched from normal CSS to Tailwind CSS

What are you thoughts on CSS duplication being mostly removed...

Why I switched from normal CSS to Tailwind CSS

Looked it up briefly, it looks a lot like @mixins/include in ...

Why I switched from normal CSS to Tailwind CSS

Nice, never heard of CUBE before, reading about it now, and i...

Why I switched from normal CSS to Tailwind CSS

Do we have a name for these types of libraries that use a bun...

Star-Rating Using A Single Input

Really neat trick, i really like these none js solutions, it ...

Imba - a JavaScript alternative for increased developer productivity

Does the react comparison take into account using React.memo(...

How to send Email with node js for free

It's not something I have delved into personally. :) I would...

How to send Email with node js for free

I think this article should come with a disclaimer. :) The r...

WOW 😱 This pop-up is so nice

Such magnificent references, I am amazed and profoundly intri...

WOW 😱 This pop-up is so nice

Looks great! The transition out bugged me a bit tho, took to...

5 Mistakes I Wish I Didn't Make As A Self-Taught Developer

I love Game jams, they forces us to learn how to prioritize, ...

TypeScript and why you should type your JS project

Actually, thinking about this again, there is one very good r...

TypeScript and why you should type your JS project

Having types means needing to write less unit tests. And they...

Re-writing then/catch to async/await

Async functions are just syntactical-sugar for Promises last...

Don't attend a bootcamp in 2021

The entry requirement was having completed gradeschool. :) S...

Don't attend a bootcamp in 2021

12 weeks holy fucking shit. That's barely enough time to gra...

Transitioning From DevOps to AppOps

I think they need to work on the name. :) devops, comes from...

Why I don't use Stack Overflow

In my experience toxic behavior most often rears it head unin...

Why I don't use Stack Overflow

I agree toxic behavior does go on on stack overflow. But... ...

11 Essential Web Development Skills to Learn in 2021

state-management & knowledge of state machines would be ...

Is web security broken?

Security is about circles of trust. Larger circles are usual...

I created the Android logo using CSS and only 1 DIV. What do you think?

I did not know you could box-shadow like this. This is awesom...

Don't Use The Date Object

Also, I do not use XMLHTTPRequest because no sane person woul...

Don't Use The Date Object

What is wrong with creating a date object with a specific dat...

Bulletproof your Javascript code with a top-level await

I'm mixed about this feature, mostly because I think it will ...

Fetch vs. Axios - comparison

We are comparing a library to a native browser method, it see...

How do you organize pet-projects?

Git, and a local projects folder. When i get too many, i move...

Why I don't use web components

The other side effect is no one bothers to learn DOM or vani...

Angular struggles in 2020

Yeah, but they were not as commonly used or known back in 201...

Angular struggles in 2020

I can forgive it in AngularJS, different times, we did not ev...

Stop Using React

I think our wires are crossed, you are clearly not getting my...

Stop Using React

Making a jab at someone’s credibility is almost never a solid...

Stop Using React

I’m not sure i can see how that support works, how it could b...

Stop Using React

Do you mean JSX? modern react can be done almost purely func...

Stop Using React

That's too bad, React is bloated but it inspired Preact, whic...

Stop Using React

Then use htm instead. :) github.com/developit/htm

Stop Using React

Low blow, attacking their credibillity, Enders arguments are ...

Make Minecraft in React in 20 minutes

This is super cool, i'l need to go over the code examples lat...

REST API vs. GraphQL [comparison]

Maybe i do not understand the question correctly. :) But Gra...

Not Captain Obvious

This is so contextual, obviously, the more obvious you have, ...

Don't Just Say Hi....

I’ve had this discussion before. There’s nothing more annoyin...

If you fantasize about quitting dev, what you have in mind to do?

And lasers, cutting bits, water jets and huge canisters or Ar...

If you fantasize about quitting dev, what you have in mind to do?

Welding, and or smithing work probably, or working with and m...

Angular struggles in 2020

This is what you get when you try to invent a rocketship to c...

PHP MVC

Cool, again it's been a while since i did anything PHP. :) F...

How do you identify "over-engineering"?

Over-engineering is like a bad joke. Too much setup, and isn...

How did people develop software before git or version control?

Like now, but they wore old timey clothing.

What do you do within the first 30 minutes of starting your work day?

I start off my daily work-event log, prepare a new to-do lis...

Why Good Code Needs Comments

A bit, I’ve had to add unit tests to enforce not changing cer...

Why Good Code Needs Comments

This is interesting, could you give some examples in rough co...

What's the worst advice you've ever received?

I would have to disagree, intent and why' can be conveyed. It...

What's the worst advice you've ever received?

Wait, what? why is that bad advice? :) The idea is to make v...

PHP MVC

CodeIgniter is a classic, should have plenty of tutorials/exa...

PHP MVC

MVC is an OOP pattern, do you have a specific framework in mi...

Angular or React which one to learn first?

Read up on their architecture and go from there. Before usin...

Share your experience with feelings of embarrassment during code reviews

Working in a senior only department I realized how offended p...

The Unbearable Whiteness of Coding

Are we defining a symptom of a bigger/different problem here?...

What can developers do to speed up time to market 🚀

Cheap, good, fast. Pick two.

How will 5G affect how we build for mobile?

I recon not much, unless we only target urban living people....

How To: Have a Personal Website on a Tight Budget

Heck, got an old computer? Find a provider offering DDNS, the...

How To: Have a Personal Website on a Tight Budget

Some reference numbers would be nice, fx. 5USD a month + doma...

Fired for Agility

Most contracts have anti competition clauses to guard against...

Are unit tests a waste of your time?

Unit testing <3 Unit-testing everything? -.-* Accidenta...

In your opinion, what makes a successful employee?

Take responsibility/ownership of the work and company goals. ...

You Should Speak At Meetups Before Your First Dev Job. Here's Why

It's a great way to build a network, and networks are the bes...

I'm creating an entire web OS as my personal website for 2021

I remember doing this back in 2009 with jquery complete with ...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

Works for my home server, but I have not stress-tested it th...

🐧 Why I switched back from Windows to Linux (Arch/Manjaro)

Going out on a tangent here but.. I'm working on a raspberry ...

Units in CSS (em, rem, pt, px, vw, vh, vmin, vmax, ex, ch, ...)

Reporting back, did this. Thank you.

How do you stay motivated?

I have ADHD, my primary problem is focusing my motivation on ...

The best investment you will make

Brokers hate him, use this one trick... Contextually, the cu...

Developer Procrastination

I read this article to procrastinate to while i wait for a bu...

The path of a young samurai

It really depends on what you wanna make. Pick a subject, an...

Avoiding having both `yarn.lock` and `package-lock.json`

What are your thoughts on checking this in CI or with a git...

Explain Async/Await Like I'm Five

Async/Await is syntactic sugar around promises. So think o...

Do you use a monorepo?

Can you be more descriptive, how it is it "not really". :)

Is CSS objectively bad?

I'm trying to establish if these are comparable by using UX...

Do you use a monorepo?

Afaik mon-repo refers to the practice of having all relate...

Is CSS objectively bad?

Nice, thanks, i will give these a look. Giving them a quick...

Is CSS objectively bad?

I can’t help but think of the classical dev quote “the user...

Is CSS objectively bad?

Layout is tricky, I find it really hard to make a judgement...

Tech Career AMA!!

Maybe i misunderstood, can you elaborate more? :) To find ...

Do you use a monorepo?

I think i can see were you are coming from but, lets look a...

Do you use a monorepo?

I've used it twice commercially, 1 fail and 1 success. My TL...

Tech Career AMA!!

TL;DR because, circle of trust. Skill validating is expens...

I Created A New Way To Make Your Site Faster

Can you elaborate on this, are we looking for less biased d...

Stop Bundling Scripts for Better Web Performance

Nice write up, good to hear others are having success with ...

My new React workflow with Parcel

This pretty neat, I might give it a go. I’m used to webpack...

How are you preparing for the recession?

I don't think pandemics really compare to war and terrorism...

How are you preparing for the recession?

It’s not apocalyptic in my mind. However I theorize the su...

Was the introduction of CORS a mistake?

CORS is great, problably one of the better security feature...

How are you preparing for the recession?

Not more than usual, I have a pretty decent chance of findi...

Why my project sucks ? At the end of project

The last 10% are 90% of the work. This is usually why going...

Need to stash untracked files? There is a way!

Commit and rebase later?

You probably don't need Moment.js

Please, everyone, stop using that crapton' heavy library al...

Should I use Redux?

Teams make the same bad state without it in my experience. ...

Should I use Redux?

I rarely put related code in different files when using red...

The Reasons Why People Do Mob and Pair Programming Even Though It's Less Effective Than Working Alone

I use mob programming frequently and for one reason mainly....

Stop using `console.log`, start using your DevTools 🛠️

I like using debugger; in chrome, it’s kinda the middle gro...

Should I use Redux?

Start without it, but use functions to get shared state. Th...

3 Powerful Tips for a Developer's Portfolio

I think it shows personality, what if it was an toggable ob...

Show DEV: I built a dashboard to track my life

I've been wanting to do something like this forever, but al...

Refactoring: My 6 favorite patterns

This might be my functional programming bias talking. But....

Let's Talk About Var, Let and Const

Yeah, that sounds appropriate. :)

Let's Talk About Var, Let and Const

I would tend to agree, but.. Writing these kind of article...

Let's Talk About Var, Let and Const

Var'iables are const'antly on my mind, time to let' go. :)

Ignoring performance

Thanks, these are very similar to my own thoughts. The pur...

How you shouldn't use StackOverflow ?

I feel like telling people to not use copy paste is equival...

How I get into “The Zone”

Started as a team lead last year, spending time getting int...

Initial Null Problem of AsyncPipe and async data-binding

Null is bad. The checks etc. that is required for asyncPip...

How To Learn Any New Programming Language Quickly?

Wait, paid programming mentorships is a thing?

Type Safety in JavaScript

Typesafety in javascript seems a mood typic to me. It not p...

When Stack Overflow Goes Offline...

I would probably not mind beyond being mildly annoyed about...

Are we pretentious and arrogant?

Where in the world are you based? That toxic culture has n...

Are we pretentious and arrogant?

I constantly have to battle my urge to comment on things wh...

How to Escape Callback Hell with JavaScipt Promises

This ^ And' it supported by major browser now. :D caniuse....

Why do I have to use Dependency Injection in JS?

If the dependencies are updated and the API changed, then o...

If one knows, "how to use a framework" - it doesn't mean one knows the framework

Totally agree. I see way to many developers pick tools bas...

Who's using Service Workers?

I get by mostly with caching headers. I’ve yet to be in a ...

Let's talk about ecology in the tech industry

True, that could imply that one of the deciding factors for...

Let's talk about ecology in the tech industry

Compensation would depend on the energy source I guess, nuc...

Let's talk about ecology in the tech industry

I think those options have been investigated, the main issu...

Hide the exported ENV variables from the history

It might be me being drunk on a Thursday, but those kinda p...

Terrible Interview Questions

I think it BS not being able to ask, a sudden unplanned lon...

Hide the exported ENV variables from the history

You have to put those somewhere, a system users env variabl...

Long article, or many small ones. What do you prefer?

Shorter is always better. It takes so much more effort/tim...

How and why do you attend conference?

I have YouTube, which essentially gives me tech talks for f...

Let's talk about ecology in the tech industry

It’s an interesting topic, the only reasonable “answer” I h...

Truth About Getting a Programming Job Without Degree

I’ll allow my self to chime in here, I’m mostly self taught...

Git blameless?

Why not just think of it as blaming the commit? If it’s t...

I'm a veteran UI developer, AMA!

Whats the oldest or most-disturbing app/browser/library/etc...

Coding with ADHD: How do You do it?

First of all, my apollogies if i was a bit rash before. I re...

Coding with ADHD: How do You do it?

I’m sorry to burst your bubble. But unmanaged ADHD is stress...

What Makes a Great Engineer/Programmer Great?

I would tend to agree, making complex things into simple th...

What Is Functional Programming + Why It (could) Make You A Better Programmer?

Could is and understatement. :) It’s like an extra tool in...

How Does Getting an AWS Certification Change Your Career?

Certifikations has always seemed off to me. Being mostly s...

Would you use this?

The smart thing about this setup would be CMS independence....

Would you use this?

I thought of something similar, making the backend an appli...

Which JavaScript frameworks should you learn in 2018?

Au contraire, my belief is, learn all of them. :) Mind tha...

Hide your f🤬🤬king API keys and credentials from versioned code

Dunno, so far I’ve always just had default configs, a devel...

Stop telling people what are the "best" programming languages to learn

Nice story, i wish i had gotten more into it when i had the...

What was the weirdest bug you ever encountered?

IE6, just take your pick. I also had problems with my saus...

If you lost the use of your hands, how would you code?

Learn to use my toes is what I would do. People always und...

Discussing the launch of Libra, "A new global currency"

Interesting, one of the main problems with crypto has been ...

BEM Grandchildren: How To Handle Deeply Nested Elements

Nesting is the devils anus in my opinion/experience. And gr...

Why we should be a better version of ourselves

My impression is that, this along with accepting mistakes a...

So I sat down to do some work...

Sometimes I find myself looking out the window and wonderin...

Clean code, dirty code, human code

if It gets the job done, then there’s really no point in ar...

Powerlifting has made me a better developer. (Part 1: Interpersonally)

I used to run a lot, it was great, got out of the rhythm when...

is there anything tech NOT on devto ?

Just write about it anyway, different views on certain subj...

5 Best Programming Languages for Artificial Intelligence in 2020

I somehow feel a want for a machine learning library in Bra...

4 main differences between forEach() and map() you should know

Did not read the article, but the title reminded me of code...

Stop telling people what are the "best" programming languages to learn

I picked up Lua to program Minecraft robots... It was great...

Stop telling people what are the "best" programming languages to learn

An equivalent analogy would asking the question, which tool...

Versioning in APIs

This is why i like the GraphQL API format. The client say ...

& nbsp ; stands for "non-breaking space" 🤯

I've used this for hacks in my early career more than i'd c...

Stop programming to become a better developer.

I concur, having a good work/life balance is super importan...

The Cost of Investing Too Heavily in a JavaScript Framework

Even AngularJS when done right can perform decently and hav...

Git jokes, giv em here!

In git you have to rebase to stay ahead. If git is like ti...

When is nesting good or neutral?

I depends on verbosity in my case. In nested code i find m...

Is generalization killing creativity in the software industry?

I might have misunderstood, but i don't see that generaliza...

Git jokes, giv em here!

I haven’t committed to this yet, but here’s a terrible pun....

Am I a good developer?

Ps, I still feel humbled by others quite frequently, in fac...

Am I a good developer?

See it as a good thing, it sounds like you are surrounded b...

Code is meaningless

I remember having to hack the DOM of a website once so i co...

🎉👨‍👩‍👧‍👧 JavaScript Visualized: Prototypal Inheritance

Actually yes, you could have asked for sources, and I could...

🎉👨‍👩‍👧‍👧 JavaScript Visualized: Prototypal Inheritance

Having used JS’s version 10-12’ish years ago days I can defin...

🎉👨‍👩‍👧‍👧 JavaScript Visualized: Prototypal Inheritance

Not really, but I can see how you could interpret it like t...

Git jokes, giv em here!

I believe I heard Linus in an interview actually saying tha...

🎉👨‍👩‍👧‍👧 JavaScript Visualized: Prototypal Inheritance

Prototype, no one really uses it directly but it is one of th...

70 JavaScript Interview Questions

It's funny how interviews often focus on memorization these k...

Is “Defensive Programming” actually healthy?

Lack of foresight is unfortunately not a bug. And objectiv...

7 CSS properties I had no idea about

I am proud to say i stopped using that flex article a while...

Git Rebase Explained Simply

When i rebase, it's always because your base is belong to m...

JavaScript var vs let. Which one should you use?

This ^ If you have the same variable name in your nested b...

JavaScript var vs let. Which one should you use?

"var' faen" what Scandinavian devs think phonetically when ...

Don't let that huge codebase scare you! Tips and tools to make sense of other people's code

Docs' are for suckers! Reading the source and implementing...

How have I ensured the privacy and anonymity of my website users? 🤔

I wonder how this works with data laws. If a user requests...

Education Qualification

Degrees and exams matter very little in practice in my expe...

Who am I? Me, the name of the currently executing method in C#

Where would this be use full, error reporting maybe? This ...

How to Avoid Observables in Angular

Not sure i would put Angular in the functional programming ...

How to Support the Junior Dev on Your Team

Started as a team lead for 3 Juniors and an intermediate ea...

How can open source contributors and maintainers engage in a respectful ongoing relationship?

Respectful language. I do not have a lot of open source ex...

How to not be a dinosaur.

I feel ya, sometimes, doing FE development feels like a nev...

Where and how to become a self-taught designer/developer✍(and many other areas)

I concur, these are problems i have faced as well. :) In r...

How to define a JavaScript function

I was about to suggest unholy magic by using goto. I then ...

Where and how to become a self-taught designer/developer✍(and many other areas)

Sorry, i might have compressed my comment too much.. -.-' ...

Where and how to become a self-taught designer/developer✍(and many other areas)

Most of my skills/experience come from informal channels/pr...

Apples announces new 16-inch Macbook Pro

Also Dedicated escape key Dedicated arrow buttons Bein...

Apples announces new 16-inch Macbook Pro

And a shit-ton of glue!... Yay! I wont be buying a new Mac...

If/else or just if?

I tend to use a small map, or a ternary in these situations...

What are your favorite analogies to explain programming?

I’ve always thought of programming as language. In theory we...

The staggering difficulty of being a solo developer

Shared office spaces are a great way to meet other develope...

Fear Driven Development

I’ve always measured this as confidence. New stuff, or imp...

What's your spookiest coding story?

Had a a manager that would walk up behind me grab me by the...

How do you market yourself as a freelance web developer (working on some freelance platform or on your own)? Do those work?

Just make sure to get a contract for anything that’s not a ...

How do you market yourself as a freelance web developer (working on some freelance platform or on your own)? Do those work?

Pick one or two channels to focus on, and then set aside de...

Scrum for fast-changing businesses, is it worth it?

If you can commit to a weekly plan and stick mostly to it, ...

Complexity Waterfall

Nice article, might send some of our juniors this way. :) ...

Are there things you see in others' code that just automatically makes you twitch/shudder

I have seen that argument somewhere before, but i still won...

Are there things you see in others' code that just automatically makes you twitch/shudder

Totally agree, I switched to SCSS mixins for css re-use and...

Are there things you see in others' code that just automatically makes you twitch/shudder

Counter argument here would be that sometimes knowing the s...

Are there things you see in others' code that just automatically makes you twitch/shudder

Exactly, everyone think it’s the standard. But very few rea...

Are there things you see in others' code that just automatically makes you twitch/shudder

The i' infront of interface names some people add. WHY. JE...

Down with the technical authority

Also, the bigger the team the worse the soup... :I

Down with the technical authority

Take away the "(usually those the management like, rather t...

Can we separate the artist from their art? Should we?

Not separating ideas, art etc. from who made it is a mistak...

Is it true that here are no actual full stack developers in 2019.

Depends on the stack. No-one forces you to build a rocket-...

Discontinued CMS

Yeah those would be the most important criteria. I value b...

Tell me about a time you messed up

I've brought down live sites numerously, messed up the mast...

Discontinued CMS

Any CMS not based on a headless CMS or the equivalent is de...

What was your win this week?

Earned a whopping 8$ on my first fiverr gig. Time to inves...

What are "HTML-CSS-JS" and "CSS-in-JS", anyway?

CSS-in-JS conjured up the same horror from when i saw JSX. ...

Could your recruitment process be discouraging female developers?

No problem, I am not always the best at expressing my self....

Could your recruitment process be discouraging female developers?

I think we agree on the first part, that the process is robot...

Could your recruitment process be discouraging female developers?

Ok, let me see if i get this right. :) The bias you are indi...

How to speed up GIT PUSH

Speed is not related to the size of the repo, but it is a g...

How to speed up GIT PUSH

Sounds really odd, i need a bit more info. How big is the ...

I'm thinking about taking over an abandoned GitHub project: what is your advice?

I would try to ask the creator to become a maintainer first...

No more hero's anymore.

They are there for the feels, and as a call to action i bel...

Is 2019 the year of TypeScript?

Oh yes i write about my subjective ideas' and i hope to get...

Is 2019 the year of TypeScript?

Nah, people just need to start making it a factor. ;) I am...

Is 2019 the year of TypeScript?

It is entirely possible to avoid most common down the line ...

Is 2019 the year of TypeScript?

You can use all of those, what I am trying to say is don’t ...

Is 2019 the year of TypeScript?

JavaScript is supported with no setup for almost all librar...

Explain JS Modules, Bundlers Like I'm Five

Think of a circus clown holding a giant wad of balloons. A...

Watching the future of coding accelerate into a simulated black hole

I love the rhythm of this article, it’s like a drunk roller...

Women in workshop

Sounds like a great workshop, did you find it difficult to ...

What I Learned My First Week at My First Dev Job

Congratulations!

Welcome Thread - v43

So many acronyms i do not know.. industrial Automation soun...

Welcome Thread - v43

👋 Patrick! I picture there being some good stories to tell...

Welcome Thread - v43

I've been lurking here for some time(a few months...), writ...

When should you ask for help?

Also, as rule of thumb, i never try out solutions before i ...

When should you ask for help?

My rule of thumb is to ask for help if i am out of solution...

Communicating Technical Debt

Quite a long article, did not have to read in depth atm. Bu...

I Read 21 Articles About How to Become a Senior Developer So You Don't Have To

I consider my self a senior programmer, in the popular sens...

Why I was wrong about Scrum + “Hard Goals”

Have had problems with vaguely defined or volatile sprint g...

How to become a senior developer?

If we leave things up to interpretation then people are ult...

How to become a senior developer?

Senior, adjective of or for older or more experienced pe...

Are Timed Coding Interviews A Good Indicator Of Job Performance?

I auto decline interviews if i find out they involve questi...

Let's help us in making our website even better

The background effects are nice, but i suspect they are cos...

How Architecture Improved My Coding Skills

Architecture is key, the main disagreements I have with oth...

loading...