DEV Community

Andrei Dascalu profile picture

Andrei Dascalu

404 bio not found

Location Cluj-Napoca, Romania Joined Joined on  github website

Last 250 comments

Best CSS Frameworks in 2021

Well, it's probably a pointless discussion at the moment, but...

Please remove that .DS_Store

Global configuration only applies to you, not the team. The r...

Please remove that .DS_Store

It's not about replacing. It's about the risk that if you do ...

Please remove that .DS_Store

I am partially against globally ignoring .DS_Store in your lo...

Why is Web 3.0 a backstab to the internet world?

LOL. No. What you think is the case and what's really the c...

It's the most insecure code in the world

Yes and no. The article does mention things that are not hand...

Dockerfile for Go

Well, caching go mod and go sum is the very definition of mic...

Setup Go with VSCode in Docker and Air for debugging

Hm, I can't say I have this behaviour. I've updated my setup ...

Dockerfile for Go

In Dockerfile you should use ENV instead of run to set enviro...

You don't need "if"

well, for a large part readability is in the eye of the behol...

You don't need "if"

Just a note: readability isn’t about understanding the concep...

Mutation isn't always bad in JavaScript

Sorry but it's not at all the same thing. JavaScript doesn't ...

Mutation isn't always bad in JavaScript

Objects shouldn't change in a context where the local logic d...

Mutation isn't always bad in JavaScript

This kind of thinking is somewhat flawed. Mutation doesn't ...

Top 5 Best Git Extensions For VS Code (You must have)

I don't expect perfection, I'm talking about a measure of use...

Top 5 Best Git Extensions For VS Code (You must have)

Copilot can supercharge your work to as much as it can slow y...

Can $this be Used Outside Class? (PHP)

Ok, so it's not possible to use $this outside a class

Top 8 Docker Best Practices for using Docker in Production ✅

Just an observation. While latest tag is definitely a bad pr...

10 apps and platforms built with no-code

Sounds more like a cheap commercial for Bubble than some seri...

RIP Copy and Paste from Stackoverflow! 🚨 (+Trojan Source Solution)

"What if it has already happened to us?" You do have unit tes...

VS Code: You don't need that extension part 2

Quick Note: Bracket Pair Colorizer (1&2) are no longer ...

Best CSS Frameworks in 2021

Lol, that's like saying if I haven't personally followed the ...

Best CSS Frameworks in 2021

Well, impression matters but I for one don't know anyone usin...

Which came first? Work experience or the first tech job?

Strangely, I'm not sure how to answer that. Which is why I'm ...

What was the first program you wrote?

It was the year of the Lord 1995 and the gods that be blessed...

Very Simple PHP Redirect

Not sure how's this related to PHP, as an example. It's a bas...

SAFe™ Considered Harmful

Agreed. Three years ago I had a presentation about the histor...

Why Django For Backend Than PHP(Laravel)

There's a lot to criticise PHP about, but none of that is in ...

Stop using if else

As long as you also define methods on the prototype, yes. Obj...

Stop using if else

well ... not really. There's the so-called object notation in...

10 Free KubeCon virtual passes just for your comments!

hi, I did - but haven't received any reply

You should stop using `parseInt()`

My point is mostly: the performance comparison is moot beca...

You should stop using `parseInt()`

The most common case for ParseInt is to get the correct numbe...

You should stop using `parseInt()`

Ok, but you did sum up the issue yourself in the examples. Pa...

Stop using if else

The first solution is NOT an object-oriented solution. You're...

10 Free KubeCon virtual passes just for your comments!

Hi! How's the Azure support for AKS nowadays? I was plannin...

Introduction to styled-components

Good points, except one. Writing is good at any level. Even a...

What is a REST API?

Just a small correction about the definition: APIs are the pu...

Who's participating in Hacktoberfest 2021?

I might :) It would be my first time participating. I'm looki...

Downsides of TypeScript?

Yes, but that thing gets obscured in time, leading to hidden ...

Downsides of TypeScript?

Also, it's a superset of JS that helps with some typing probl...

Have you tried functional programming?

Indeed, very much so

Have you tried functional programming?

Absolutely, but the subject was more about languages with sup...

What's the most beginner-friendly Linux distro?

I'd say Ubuntu, Manjaro, Arch .... in this order.

Have you tried functional programming?

Elixir is "better for FP" as an argument to the value of a pl...

Have you tried functional programming?

Let's not forget Python. Python is quite versatile as it has ...

Have you tried Kubernetes?

Well, they range from my personal site and a couple others ho...

What VPS provider do you use?

They're probably the most developer focused provider. I'd say...

What VPS provider do you use?

Hm, you're listing hosting services that also offer VPS optio...

Have you tried Kubernetes?

I'm using it both personally and professionally for every pro...

What skills do career indie developers not learn (vs those employed mostly on teams)

I'm not sure that's an indie thing or a general startup thing...

No estimations

Before an of that, I would first clarify: what is the purpose...

Stop thinking about your work at night

I try not to think much about work after hours. But the thing...

Go: Fiber vs Echo (a developer point)

Awesome!

Make containers small again

You can use FROM scratch instead of alpine, it’s basically th...

ECS: Serverless or Not? Fargate vs. EC2 Clusters

I think it's wrong to say that the two options to run contain...

7 Microservices Best Practices for Developers

If you can tell me how to scale independent domains of a larg...

7 Microservices Best Practices for Developers

well, I generally agree with the exception of the last point....

7 Microservices Best Practices for Developers

You're missing the biggest challenge of all: observability. H...

Top 5 IDE for Web Development🤩

True, but would you please care to explain the difference, si...

One does not "just containerize" an app

I wouldn't call it a lot. What you mention about php, for exa...

Myth: HTML is accessible by default

Yeah, anything becomes expensive if you're rushing a half bak...

Stop! Put Down That Ternary, Lines Are Free

Definitely not, just hoped/attempted to, though it didn't com...

Stop! Put Down That Ternary, Lines Are Free

Well, I disagree with the last statement. The code didn't try...

All flavors of PHP 8 getters

You have a weird definition of what's a pro and a con: 2 bi...

[Part 2/100] Laravel encourages poor programming practices

Yeah, those sortof match my misgivings about Laravel. Sometim...

[Part 3/100] Eloquent sucks

Yep. Also, though, Doctrine doesn’t have that complexity prob...

State of Go / Golang in 2021

Well, can't think of a language more stable than one supporte...

Those “Pesky” Pull Requests are Totally Worth It

Nitpick: pull request is a Github concept when you ask a repo...

Vscode Extensions You Should Try Out

Why not bracket pair colorizer 2?

9 Things I’ve Learned About Software Development Management

Great one! Things that people generally recognize as thruths ...

Its 2021, and UX is still Overrated

"If the design on left has more premium ketchup inside it, wo...

Fre is 10 times faster than react!

It's not really a huge thing to be faster than React. It woul...

Terraform Design Best Practices

It would be really interesting to see an article about terraf...

Top 40 Docker interview questions (with answers)

There's a difference between question and answer. One is poin...

Top 40 Docker interview questions (with answers)

You don't have to have perfect knowledge to point out glaring...

7 Pieces of Bad Advice for Women in Engineering Leadership

I find these really strange .... for the most part it's becau...

Top 40 Docker interview questions (with answers)

1 - slightly wrong. You're not using just system resources. A...

Your dev team lead is not controlling enough

I don't quite like it when things related to management are f...

Make containers small again

Welcome :)

Why make a Bootstrapy Website if there's TailwindCss!

Well, if I have a quick site to put up I want a framework tha...

What are the basic fundamental concepts of programming?

Very nice article though I wouldn't be myself if I didn't nit...

The importance of off-screen hobbies

I'd say being a parent, but that's a bit off the hobby mark a...

Dockerize your Go app

Yeah, it's probably a matter of micro optimisation, caching t...

Dockerize your Go app

Cgo enabled to 0 is important. I'm never quite sure why you'...

Is anyone worried about Gatsby vulnerabilities?

It may depend on how you use it. I used to use it as a static...

Javascript Format Date without Moment.js (Eg: 17 July, 2021 )

Any alternative library has the huge advantage of being maint...

Javascript Format Date without Moment.js (Eg: 17 July, 2021 )

Well, formatting the date doesn't require moment. Moment is b...

What are some things that only someone who has been programming 20-50 years would know?

Hell no! Do not npm uninstall. Just npm install weird-fix-pac...

What are some things that only someone who has been programming 20-50 years would know?

Say what? Always npm install for as long as there's still som...

Top 10 Coding Principles Every Developer Must Know

Yes, balance, of course. It’s a developers job to negotiate s...

Top 10 Coding Principles Every Developer Must Know

Sorry, but #10 is silly. "Clean code at any cost"? I assume y...

Use Kool to run Multiple Docker Applications at the same time in your Local Development Environment

Well, I did, but the previous article seems like the classic ...

Use Kool to run Multiple Docker Applications at the same time in your Local Development Environment

I'm not quite sure I understand what Kool brings on top of Do...

Rest v/s GraphQL !

Rest as an architecture is more limiting as a concept, since ...

Difference between API and Web Service

Actually I'm expanding the definition, not narrowing it down....

Difference between API and Web Service

Sorry but the API definition is wrong. An API is a programat...

Is Dev.to victim of its own success?

The one thing that it could be up for the platform to do woul...

Some Experiments with GitHub Copilot

@seyal84 no double standards at all. On SO you get discussio...

PHP 8 really?

Is php 8 serious? Php as a whole is serious. But php 8 is bar...

A Comprehensive Guide To JavaScript Design Patterns

If there is one thing I'd love to see more here then it's des...

How to protect NextJS API routes from other browsers/servers

true that, but then again the example is also (at best) incom...

Why Virtual DOM?

Perhaps I gave a bit the wrong impression. I don't quite expe...

Why Virtual DOM?

What exactly is "most cases" because if you want to argue as ...

Why I switched from VsCode to WebStorm

Which you can achieve with vscode sync. It used to be a plugi...

Adding Prettier to a Project

" I just don't understand how is it possible to have such an ...

Why Virtual DOM?

Yep, decade old misconceptions recycled. You may want to cons...

Adding Prettier to a Project

We should all be free to use x's for indentation and suffix e...

Adding Prettier to a Project

I'm not sure if you actually read anything in the article. It...

What the heck does an Architect do?

I think the responsibilities vary but on the technical side a...

What is serverless PHP and how does it work?

That's also kindof the point. Do you need that much documenta...

How to reduce your Amazon EKS costs by half in 15 minutes

Pretty nice tool. I'll give it a shot soon! I wonder how it p...

Exploring the Typescript Monorepo (a practical, hands-on adventure)

"And what if we then find the change to the library wasn't qu...

What is serverless PHP and how does it work?

I guess it depends on what do you mean by natively. You need ...

What is serverless PHP and how does it work?

Wrong. The only cloud provider that natively supports PHP as ...

Introduction to TypeScript

Even better than Typescript (nowadays it is ReScript) blog.du...

Comparing Popular Static Application Security Testing (SAST) Tools

Wide language support? You mean C family and Java? Lol.

13+ 🤩 amazing 🤩 tips for writing ✅ listicles ✅ [don't be mad that you didn't know them before!]

This should be reposted every other day

5 open source projects I use every week. You might not even know these are OS!

Android is a bit of a mixed bag. There is AOSP, the project t...

Avoid COPY . . in Dockerfile

This is misleading. It only refers to js projects that use...

My Completely Biased Reasons for Choosing Angular

This is a place of discussion and reasond and point of view a...

Best Laptops for Software Development in 2021

What about System76? Those are awesome, quite on par with Raz...

Why bashing PHP makes you look stupid

"if you know what you are doing..." - well, it's a valid poin...

Why bashing PHP makes you look stupid

"On the other hand, I also understand the power of being able...

Why bashing PHP makes you look stupid

Well, on 3 ... where do we start ... shared global mutable ...

Why bashing PHP makes you look stupid

There's a difference between bashing and criticism. Since no...

Callback Hell and How to Rescue it ?

"I think you should know about Synchronous and Asynchronous p...

5 ways to say 'NO' to Clients

"Do not respond to the request, Respond to the issue behind t...

Why local development for serverless is an anti-pattern

" Its about solving the problem not trying to play with the l...

Why local development for serverless is an anti-pattern

"...added huge amounts of complexity for developers to have t...

VirtualBox installation error in Linux - Error: Dependency is not satisfiable: libc6 (>=2.28)

Linux world is strange like that with all the modern flavors ...

Need help regarding mailgun api

You can use the -v param with curl to see the request as it's...

Comparing Managed Kubernetes Services: EKS vs. AKS vs. GKE

Two mistakes: Azure service is not Azure EKS, it's AKS. AKS...

Do you use Docker?

Yeah, but there are 2 issues with this: you need to maintai...

Top 10 Websites for Developers

Although most items are number 1 with the exception of number...

What makes frontend so miserable for backend developers?

The question could go both ways, as I've seen front-end devs ...

Why Indentation is more important than coding?

Or Go, or yaml. :)

Which is the best IDE for JavaScript development in 2022?

Sadly nothing comes to mind. When I got into JetBrains (via P...

Algorithms are ruining our lives 😒

Certainly you're right that knowledge about algorithms isn't ...

Algorithms are ruining our lives 😒

That when speaking to a more technical audience it's best to ...

Algorithms are ruining our lives 😒

On a platform targeted at developers I would surely expect a ...

Top 3 Golang Web Frameworks In 2021

And these are top 3 based on... what? They have some qualitie...

Which is the best IDE for JavaScript development in 2022?

WEbstrom, Like the product of the JetBean :) that's what hap...

How PHP Type Declarations Actually Work

"This approach does have some consequences though." - it's no...

You don’t necessarily need Composer

Well, like you said, composer is a package manager. Auto load...

4 Simple Ways to Deploy your small website

It's not about details. Github pages and heroku don't do the ...

4 Simple Ways to Deploy your small website

It's not clear to me whether this is about where to deploy or...

Top 10 software for your Homelab in 2021

Well, Portainer is sure nice but for home Docker Desktop is q...

I think there is too much to learn in programming

Full stack is not a property of development in itself, it's a...

Do we build our own OS or not?

To create your own OS is by far the most efficient solution i...

I think there is too much to learn in programming

That's why nowadays it's hard to be a true "full stack" dev. ...

Do you use Docker?

Actually it totally has been targeting dev environments and h...

Do you use Docker?

Been about 4 years since I've used Docker in 100% of my proje...

How often do you maintain the code that's not a part of your favorite stack?

I've earned the luxury of never having to do that. With 15 ye...

PHP vs Javascript - What should you choose?

The way you wrote, you focused on client side JS, but if you...

Yes! Use microservices and ask 'why are you like this?' afterward 😑

OpenTracing is a standard for defining methods of tracing (da...

Yes! Use microservices and ask 'why are you like this?' afterward 😑

Well, the points you make are certainly valid and for sure mi...

Elixir pattern matching magic

If I go there will be trouble, if I stay there will be double...

Learn these Programming Languages in 2021

Sorry, I don't see any reason to like and share. It's just a ...

10 Javascript Very Basic Interview Questions You Should Know

On #1 - if you ever end up in an interview with my outfit, it...

Sexism, Racism, Toxic Positivity, and TailwindCSS

If he realized the article was written as a hate piece by som...

Do you code on weekends?

Absolutely. In weekends I code after kids go to sleep, usuall...

Do you use subdomains?

There is one reason I prefer sub domains: you don’t need spec...

Is 0kb of *HTML* in your future? 🔮 A website without JS...HTML...CSS or IMAGES!?⁉😱

Although you have to admit that if someone would find a way t...

Is 0kb of *HTML* in your future? 🔮 A website without JS...HTML...CSS or IMAGES!?⁉😱

I don't think you used stenography though

How much time do you spend writing tests?

There is only one valid answer: not nearly enough.

How do you create your invoices?

Manta looks nice. I used to have Zoho which is nicely integra...

Do you start with frontend, backend, or both?

Depends - any engineer they in a team that practices devops i...

Do you start with frontend, backend, or both?

When you say "Frontend vs Backend vs Fullstack vs DevOps" it'...

Do you start with frontend, backend, or both?

Depends. They usually start in parallel with one "side" being...

SOAP vs REST vs gRPC vs GraphQL

Hi! Thanks for the appreciation. I had totally forgot about ...

Monolith or Microservice Architecture?

It's a decent summary but unfortunately doesn't spend enough ...

✔||🤢 Commit or Vomit | nested ternary operator

Hmm, in all languages I know this is the only conditional ope...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

No man, what I'm talking about is the context of the OP: cook...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

No, you're talking about a totally different things. Sessions...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

Not sure you can have sessions without cookies. Session data ...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

well, like I said, it's up to how you design your application...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

Not necessarily, since tokens expires. You can, if you want t...

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

Not sure that's the real alternative. Sessions need to be sto...

Qu'est-ce que vous aimeriez lire en français sur dev.to ?

Svelte?

What is really the difference between Cookie, Session and Tokens that nobody is talking about ?.

"So the server will store the session information in the data...

On the usefulness of `git rebase`

Yes, indeed, though the rebase/merge debates I've seen were a...

An unwanted update to your Google Account

DO wants to be but it will take years for it to catch up. On ...

An unwanted update to your Google Account

I keep looking for ways to do that but... I use Google profes...

On the usefulness of `git rebase`

I use rebase to pull upstream base branch changes from main b...

Setting up Debugging in Go with VS Code

One thing I could never get to work was delve with vscode but...

Migrating from NPM to Yarn

By the way, I found this: reddit.com/r/learnjavascript/comme....

Migrating from NPM to Yarn

It has in terms of features. I have a proiect (fairly large s...

What was your win this week?

I slept. Working from home as an architect and helping a lin...

A simple strategy for structuring TailwindCSS classnames

It is, mostly because your organizational solutions go well w...

Why start using TailwindCss in 2021

The world spent the better part of the '90s figuring out how ...

JSON web tokens are NOT meant for authenticating the same user repeatedly: Use session tokens instead

Actually it's about the same. Nobody needs to "get" your tok...

JSON web tokens are NOT meant for authenticating the same user repeatedly: Use session tokens instead

Errr, jwt shouldn't be stored neither in cookie or localstora...

Why People Designing Websites with Standard CSS Should Switch to Tailwind

The very purpose of CSS is to separate layout from design. It...

DevOps Mentoring

Depends on what you mean by devops? If you understand the pra...

What is your Linux distribution of choice and why?

Just to note, I've also been a long time Mint fan but for the...

What is your Linux distribution of choice and why?

Difficult choice between Arch and Manjaro. Nowadays it's most...

Solid. Is It Still Useful In 2021?

"we should be able to use a child and a parent class intercha...

Do you really need an API?

Exactly, so unless you want to mish-mash all the login togeth...

Do you really need an API?

But how can you avoid an API ? Unless you're going for writin...

Do you really need an API?

While I agree with the conclusion, I'm struggling to find a c...

Solid. Is It Still Useful In 2021?

Yangi => yagni

When was the last time you let yourself be a beginner?

Hm, I don't think there's a week they goes by without explori...

✔||🤢 Commit or Vomit | Switch(true)

Vomit. Either a verbose aggregation of desired Boolean checks...

You ain't gonna need it

Well, you seem to be mashing together a couple of somewhat re...

Top 10 Git GUI clients

Vscode stand-alone without mentioning GitLens? :(

WHY YOU SHOULD BE FOLLOWING THE SINGLE RESPONSIBILITY PRINCIPLE

Yeah, but that’s not because the code gets split in functions...

WHY YOU SHOULD BE FOLLOWING THE SINGLE RESPONSIBILITY PRINCIPLE

I don’t see a new race condition. The simple fact some code h...

OOP Principles For Dummies

Nobody said they were design as FP. I say that JS was functio...

OOP Principles For Dummies

Not sure how you can argue FP "invasion" into Python and JS a...

Write Better Code With [Functional Programming & Elixir]

Well, thing is OOP by its 4 pillars nudges you towards shooti...

OOP Principles For Dummies

Sure, but it's OOP that advocates composition over inheritanc...

Should I listen to music while coding?

I'm on and off about music. When I do tasks that don't requir...

How I Made This Realistic Red Switch (Pure CSS)

Amazing! Actual result aside, as far as tutorials/showcases g...

Setting up Webpack 5 with React and Babel from scratch [2021]

Pretty nice intro. I always advocate doing it "the hard way" ...

OOP Principles For Dummies

Well, in the case of inheritance it's been widely considered ...

OOP Principles For Dummies

Although encapsulation and inheritance are quite dead and bur...

What are you learning right now?

Elixir for backend, Reason (and ReactReason) for frontend

Why learn Python as a DevOps Engineer? 🤔

When you put it like that, I sense that what you mean by DevO...

Why So Serverless?

Pretty nice description. I like serverless for less resource ...

Why learn Python as a DevOps Engineer? 🤔

That makes sense though for the same purposes I largely prefe...

JavaScript Should Be Your Last Resort

I disagree. You don't. That's a business decision that depend...

Should you use Linux?

Linux wasn't friendly like 20so years ago when doing any sort...

JavaScript Should Be Your Last Resort

"This way of thinking is not about what is easiest for you as...

Never make your text container a flexbox container

That is exactly what I'm saying. If you don't have guarantees...

5 habits every developer should adopt!

Just a note, dry is not about code, it's about knowledge. ver...

Never make your text container a flexbox container

Well, yes, definitely. It's OK for text, which means that if ...

Never make your text container a flexbox container

Just to nitpick. You can't make your lowest level container ...

Beginner looking for a community

Well, you're definitely in the right place. Plenty of communi...

Question: What is middleware in web development?

A Middleware is a bit of code (can be a function or another a...

Switching to Arch Linux

Not sure what you mean by "paying for your attention". The pr...

Switching to Arch Linux

Been in lots of news. theverge.com/2020/6/8/21283769/bra... ...

Switching to Arch Linux

Just that .... never Brave. The affiliate link injection scan...

JavaScript Interview Question #17: Sum of Two Empty Arrays

No, the question itself doesn't check the depth of knowledge ...

Have you invested in crypto yet?

well, Dev is not the place to discuss investment. But if you ...

Startups can still feel good about choosing Bootstrap in 2021

Always, but with the caveat that you shouldn't back yourself ...

The reasons I don't use Typescript

Language is important because if you insist on using words un...

The reasons I don't use Typescript

You say "fault tolerant" but I don't think it means what you ...

Why developers hate PHP

Ah, the promised land is here! I will try it though at a glan...

5 CV don'ts for software engineers

Great points but would be better written (or podcast). Speaki...

Have you built anything using Deno?

Well, as you point out, there are some improvements so it's r...

Tools Every Developer Should Know and Use

Sounds more like UI focused tools, rather than generic develo...

Guide to Web Authentication

yeah, but you don't use just password to login. It's the comb...

Guide to Web Authentication

Difficult to take seriously an article built in misconception...

I've launched my own startup :)

I mean more in the way that Meetendly won't for example book ...

I've launched my own startup :)

When you say "your calendar" does it mean it can integrate wi...

Typescript vs ReasonML

Hm, depends on what you mean. Working with async has gotten b...

5 (more) best languages to learn

As a functional language, I'll take Elixir over anything els...

loading...