DEV Community

loading...
Andrei Dascalu profile picture

Andrei Dascalu

404 bio not found

Joined Joined on  Github logo

All 186 comments

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...

The Beauty Of [Functional Programming]

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 ...

8 Node.js Projects To Keep An Eye On 2021

Just a few notes: Nest is based on express Express has noth...

8 Node.js Projects To Keep An Eye On 2021

Exactly, it's not express that makes the DB integration seaml...

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...

What do you have to Google? Every. Single. Time.

Looping an array in bash. One would think after 10 years it w...

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...

14 Free Cloud Storage and File Sharing For Developer

What about: Mega- 35 GB free, 40/ year for 400gb Pcloud - 5 G...

Monolithic vs Microservice, What do you choose?

Monolith are NOT simple to scale. The fact that you can run t...

How much experience you had, when you got your first dev job?

Well, i never did any serious work, just basic cheating tools...

How much experience you had, when you got your first dev job?

Commercial experience, none. I got my very first job first ye...

Have you ever managed a team?

There is one idea and at the same skill that I consider param...

Is it time we quit WhatsApp?

Well, they do ... but they also use WhatsApp a lot. If they w...

How to clean a legacy code: stop complaining, start doing

Meh, any decent programmer should be able to do both at the s...

Intro to PHP - A Powerful and Flexible Programming Language

<?php |PHP CODE| ?>???? The end tag is a no-no in PHP ...

Why developers hate PHP

Well, yes and no. The OP was an academic question. Why PHP ge...

Why developers hate PHP

Well, if you look for frameworks that look like Symfony .... ...

Why developers hate PHP

on k8s, you don't need another nginx beside the ingress contr...

Nginx concepts I wish I knew years ago

HTTP reverse proxy is a server (as in general term). Web serv...

Why developers hate PHP

Sure, myself included. Things evolve.

Why developers hate PHP

Sure. snipcart.com/spa-seo And a great one on Google's play...

Should routing go before security?

Authentication before routing. It makes little sense otherwis...

Nginx concepts I wish I knew years ago

You have a point, but I wouldn't want to ruin my reputation ...

Nginx concepts I wish I knew years ago

Well, you are wrong about the definition. A web server doesn'...

Why developers hate PHP

Sure, so the conclusion is that php is OK when not using kube...

Why developers hate PHP

It is a factor when deploying orchestrated containers. In k8s...

Is it time we quit WhatsApp?

I would love to throw it away. But it's impractical due to m...

[Go] unusual: move "if err !=nil" into struct methods

Well, that's not quite so. If it were only the if checks, it...

[Go] unusual: move "if err !=nil" into struct methods

So, to sum up: it doesn't reduce the err!=nil checks you sa...

Why developers hate PHP

It's capable, I didn't say it's not. But assuming you have a ...

Whisk Away Wi-Fi Woes: Mesh Network

Very few devices hop from AP to AP? Lol, a repeater broadcast...

Why developers hate PHP

I'm sure there are people that hate PHP, but "hate" is a pret...

Why developers hate PHP

Wrote a reply on a similar post a while ago. The gist would b...

Why developers hate PHP

Actually php is useful in exactly one scenario: I have develo...

Svelte. What is your opinion about the lightweight JS framework?

Also, I like it a lot but my issue with adopting it is that I...

How to write IMMUTABLE code and never get stuck debugging again

I always dislike the formulation "immutable code". Depending ...

Svelte. What is your opinion about the lightweight JS framework?

Not sure. But the concept is great and performance is worlds ...

Is C Programming Knowledge A Must To Learn Python or Any Other Programming Languages?

I have never heard anyone saying anything like this in over 3...

10 Best Programming Languages Coders Should Learn in 2021

Just a note: Reason also transpiles to JS, same as TS though ...

A Guide to Securing Node.js Applications

That's what the second part of the post was for. Unless you'r...

A Guide to Securing Node.js Applications

sarcasm

What to learn and use for statement management in React ?

I would say learn Redux and Context. Redux is the most popula...

6 Reasons Why You Should Learn TypeScript in 2021

why "except" ? Same was true for typescript and same is true ...

What will you focus on in your tech-stack in 2021?

I am learning ReasonML as a replacement for TypeScript and I...

What sign-in methods do you use in your apps?

While I don't get to use it as much as I'd like to, I prefer ...

6 Reasons Why You Should Learn TypeScript in 2021

By the same reason you should take it one step farther and le...

A Guide to Securing Node.js Applications

Absolutely, password are deprecated. That's why nobody uses t...

A Guide to Securing Node.js Applications

Unless you mean biometrics, I don't see how that goes. Social...

A Guide to Securing Node.js Applications

For credentials, sure. But social login doesn't come with sim...

A Guide to Securing Node.js Applications

I would never consider it a good practice to force anyone to ...

If not ternary operator then what?

If You need a Boolean evaluation, there is definitely no need...

Why does PHP get so much hate?

Well, the question was why php gets a bad rep. Think about wh...

Using Live Reload in Go

Loads of stuff can do this. I use CompileDaemon

Stop using the title "Full stack developer"

That you are talking about all the parts of a stack. That you...

Stop using the title "Full stack developer"

You're really going overboard on the overthinking bit if you ...

Typescript vs ReasonML

Oh yes, that makes sense. Definitely missing, though I also h...

Typescript vs ReasonML

What ReasonML seems to have over Elm, at least, is full inter...

Typescript vs ReasonML

Very seamless, but I just did some basic stuff (eg, a photo m...

Typescript vs ReasonML

I am not entirely sure what you mean. Yes, there should alway...

5 things to do while Android Studio loads

I can imagine it. Click on Android Studio, it starts loading,...

What database should i use?

Well, as a general direction, you have SQL, noSql and blends....

Coroutines, key Concepts

Every thread has a stack, that's the definition of a thread (...

TDD Part 1: Why Should I?

Tdd can be interesting as an exercise in discipline as long a...

Coroutines, key Concepts

I never quite understood lightweight threads. What makes it l...

Golang through the eyes of a Java developer - pros and cons

It's not that I don't agree. In fact, I'm familiar with the i...

Golang through the eyes of a Java developer - pros and cons

You do realize that many of these points have nothing to do w...

How much pragmatism is too much?

How do you define pragmatism in this context? To me it's alwa...

Is it OK to tell users to Accept Cookies, or leave?

Sure, many US sites did just that for European visitors, befo...

What STACK do you choose and why?

Backend: fiber Frontend: react but transitioning to Svelte ...

Nice to meet you, PHP!

Well, glad you found a way to make microservices that don't e...

Nice to meet you, PHP!

Well, guess it's a matter of taste. I like how intelephense d...

Nice to meet you, PHP!

I'm going to come back with another reply mostly because of t...

Nice to meet you, PHP!

If You do, I would suggest intelephense instead of intellisen...

Nice to meet you, PHP!

Well, Microsoft doesn't offer all that much out of the box fo...

Nice to meet you, PHP!

Overkill in what sense? You don't have to learn it straight o...

Nice to meet you, PHP!

My advice to you is ... dump xampp and go with Docker. Partic...

Nice to meet you, PHP!

Actually, I dumped phpstorm for vscode. While phpstorm is the...

Python VS Nodejs witch is best?

Python is easier to learn as a beginner and also a great syst...

9 Simple logical questions for JavaScript beginner's

Honestly I couldn't get over capitilize. And capilatize. They...

Do you prefer callbacks, promises, or async/await?

Callbacks always leads to callback hell. If I start something...

Why does PHP get so much hate?

exactly, so you have an environment the promotes legacy and b...

The Four Pillars of Object Oriented Programming

Nice explanation, although as far as pillars are concerned, t...

The Four Pillars of Object Oriented Programming

Principle are "stuff that helps more often than not", not per...

Why does PHP get so much hate?

You can use php-pm. Like I also mentioned, there's also Road...

Why does PHP get so much hate?

there's a big different between nodejs's implementation and p...

Why does PHP get so much hate?

I've got 17 years of PHP under the belt and there are some po...

The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

Dumb question: why do you need to tell the spa when the jwt e...

What's your 1st programming language & What you use today?

Counting only languages that I really learned to the point of...

what is Agile? Wrong answers only

If you say its name out loud you will have 20 consultants sel...

what is Agile? Wrong answers only

The way to dazzle your customers by delivering thrice the wor...

Top 17 PhpStorm Plugins (100% free)

If the AI completion is as good as I hear, it would be the fi...

How to reduce back-and-forths on a pull request ⚑️

Spoiler alert: just don't open one and force push master (or ...

What is software? (wrong answers only)

Software is the pen name of the person who first said "it wor...

What is software? (wrong answers only)

It's what gets me free access to coca cola, game consoles, co...

What is software? (wrong answers only)

The result of mixing code with too much coffee

Do you prefer subdomains or subdirectories?

It's likely that the primal post misuses the term folder as t...

Angular, Vue and React

Hi, On a personal level, I would argue that moving code arou...

Angular, Vue and React

I think you mean reformat rather than refactor. Refactor is q...

Stop Using React

I've seen this argument before and by and large it's less to ...

Is "fundamentals first" the best approach to learning web development?

One point about this. You can approach learning however you w...

10 tips from A 10 years experienced Developer

Yeah, I hate it when that happens ;)

I learned Javascript, Ruby, Python and Java

OOP is not a design pattern. Factory is a design pattern. Obs...

10 tips from A 10 years experienced Developer

Definitely this is by far the best generally valid advice, ev...

10 tips from A 10 years experienced Developer

"Separating hype from quality takes time" - yeah, but at the ...

error: expected ';' after class definition

This isn't stack overflow, but even if it were, you should st...

"Crap, I broke production" - How do we ensure it never happens again?

Well, no amount of best practices will guarantee production...

"Crap, I broke production" - How do we ensure it never happens again?

When discussing this, mostly everyone thinks the same. I ge...

For PHP devs - PHP Storm vs VSCode

Hmm, had no idea that phpstorm got ligatures support in the...

For PHP devs - PHP Storm vs VSCode

Vscode does the same, via intelephense (not default php suppo...

Your keyboard is disgusting!

Just random thoughts: hospital stuff tends to have resist...

πŸ™ Please Add .gitattributes To Your Git Repository

You're not really forcing it if you need to ask everyone to...

Does every backend need to be an API?

Well, every frontend needs storage and a way to interact wi...

Bye bye Postman ! Let's share your REST API calls in team, easily !

Ford development that is great, but as a generic tool, Post...

How to install Microweber - the Open Source Drag and Drop Website Builder that is Disrupting the Industry

Hm, would be interesting if the need for programming weren'...

React, Reactive Microservices, Kubernetes, GraphQL & gRPC - Announcing Appwish - Fullstack Tutorial Series & Opensource Project

Sounds great! I've had bits of experience with most of thes...

Top 10 Most Popular Programming languages and their Creators

Probably not now, though yeah, claims like 'most popular' s...

Top 10 Most Popular Programming languages and their Creators

Is Pascal still around? I know there's Delphi, based on Obj...

Node vs PHP

I would make my decision based on the goal. For example I hav...

Node vs PHP

Exactly. A fair comparison would be node vs roadrunner for ...

Node vs PHP

You should really make your question clear as to the scope ...

Programming Languages To Learn In 2020 To Boost Your Career As A Software Developer

Almost totally agree with the list. Rust is on my list too,...

Are you using Docker for local development?

I never understood those people saying that the setup is mo...

What is your favorite editor and why?

I work mainly with Js and php, but lately also a good deal ...

PHP sucks, can it suck less?

I generally agree with the summary even though the points a...

PHP sucks, can it suck less?

need and haystack are used for search functions. The very t...

Why the Accenture/Hertz affair is no news to me

I'll skip over your calculations and so on (IMHO, they are ...

why branching on git is wrong

Well, I think that your premise of finding an issue with fe...

loading...