DEV Community

Cover image for 5 Frontend Development Myths That Need to Die in 2024

5 Frontend Development Myths That Need to Die in 2024

Gokul Ramakrishnan on December 22, 2024

Frontend development has come a long way in the last decade. Yet, some persistent myths about what we do as frontend developers refuse to fade. The...
Collapse
 
jimjunior profile image
Beingana Jim Junior

After working on multiple projects, you begin to realize how backend is actually the simple and most straight forward part of development

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

You just can't say which is categorically "harder".

Try working on some project that's mostly database with lots of interconnected data and you'll quickly realise how hard it can get to make those queries run reasonably fast, while the front-end might just be a table and some endless scrolling.

Then take that back-end and scale it up to like ten locations around the world. Oh and remember there's almost no budget left for infrastructure costs.

There's really no hard rules about what's the "hard part" of any project, it always depends on what your requirements are. There's just currently a strong emphasis on front-end heavy products these days

Collapse
 
aaronre16397861 profile image
Aaron Reese

It is when the database schema has been built by the DBA rather than the project manager or (well meaning) front end Devs who simply don't know, understand or care about data types, indexing, relational integrity, query optimisation and transaction scope.

Collapse
 
alohci profile image
Nicholas Stimpson • Edited

It's not really the job of the DBA either (who often aren't developers at all), but I know what you mean. It's the job of a developer who does understand all those things.

Thread Thread
 
aaronre16397861 profile image
Aaron Reese

Depends on who is defining DBA. It can mean anything from hardware architect through DevOps, high availability management, DR planning, Pen testing, SecOps, performance tuning and everything in between. Good database design is at the heart of performance and you won't see the cost of failure until you are at huge scale by which time it is often too late. In startup does anyone care whether that String field is Char 20 or Nvarchar 255 or just plain text, or what collation you are using. They will do when you get to 10M database reads an hour, not to mention the storage, compute and traffic costs of having the wrong types and relationships.

Collapse
 
decker67 profile image
decker

Yes, and you can see this during development. Backend is something I let do by the AI, when there is no logic in the content.

Collapse
 
dsaga profile image
Dusan Petkovic

If it was simple we wouldn't have way more backend devlopers than front-end on projects, backend is where you can make very bad mistakes related to business logic and such

Collapse
 
abdulaziz_rustamov_58fd13 profile image
Abdulaziz Rustamov

sa


Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

CSS Is Easy!

This was true 10 years ago, but it is even more so nowadays. I think many people don't even realise the amount of complex stuff CSS can do these days, and how much you need to know to use it effectively.

It used to be a language that you could learn on the side to complement your "main" skill (which would usually have been some back-end language or maybe JS), but these days, CSS is its own entire thing that needs to be learned just as much as any programming or scripting language.

Frameworks Solve Everything

I'd go further: Frameworks Solve Anything

Don't get me wrong, frameworks have a purpose, but they fundamentally cannot "do", and by extension, "solve" anything that couldn't be done without them. All a framework does is give you a predetermined way of doing common tasks. That's the only way they differ from a library.

A framework is like a nice tool box: there's a place for every tool so whenever you need something, you know where it is. It won't organise your tools for you, and it certainly won't use them for you either. You still need to learn your craft.

Collapse
 
gabriel_rowan_1b96f237438 profile image
Gabriel Rowan • Edited

A framework is like a nice tool box: there's a place for every tool so whenever you need something, you know where it is. It won't organise your tools for you, and it certainly won't use them for you either.

Well said! 🙌

Collapse
 
tracygjg profile image
Tracy Gilmore

Absolutely right on all points. But, when you think something if difficult, that is when you are still learning.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas • Edited

As a long back-end developer who has gotten into front-end (using Svelte... had to learn React too) recently, I still grant the high ground to back-end developers. Why? Because none of my front-end devs work on the difficult algorithms. All those have to be worked by backend devs.

Examples:

  • Generic client filtering and sorting: I did it.
  • Filtering and sorting conditions translated to ODATA: One of our backend devs did it.
  • The latest one: Synchronize width and position of columns in child tables so they always align with their counterpart column in the master table: I just finished it and demo'ed in this REPL

So, unless I am proven differently: Myth 3 is not a myth: Is a reality.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

No offense, but it looks like you may need to hire better front-end developers.

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

That's the thing. There are none. The really good devs are always backend devs.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

"There are none." Really? Oh well. Good luck!

Thread Thread
 
webjose profile image
José Pablo Ramírez Vargas

Your response proves my point. You're probably a front-end dev that takes offense on what I said. Why? Because you don't realize that I'm talking about statistics, not individuals. I cannot possibly know and judge every front-end dev out there. Of course I'm talking statistically, but front-end devs fail to realize this is a statistical assertion, which talks about their ability to think logically, which directly deters their ability to program algorithms.

Collapse
 
dhanush9952 profile image
Dhanush

frameworks don’t solve every problem

Well said

Collapse
 
xwero profile image
david duymelinck • Edited

Backend is the hard part

Both front- and backend have their complexities and quirks. For the backend code there is more control of the environment. That is why there are more language choices. On the frontend there will always be that one render engine that does things different, which leads to more code to do the same thing.

When node was released the main concern I had was the lack of separation between back- and frontend, because it is all javascript. On the backend we are for instance concerned that things like API keys, database connection credentials and so on don't get exposed to the public. If you come from frontend development, everything is public, there is no need to think about those things. So you need to train yourself to be aware of things like that.
It is better now, but I still see for example nextjs sites that expose way too much data.

I don't believe people can be a fullstack developer any more. Both back- and frontend have become highly specialised fields with many components. The days when you had a server that contained a database and webserver , and one dominant browser engine with a dominant screen size are far behind us. You can specialise in one or the other and have notions of the other parts to make everyone's job as conflict free as possible.

Collapse
 
laikokwui profile image
Lai Kok Wui

Im a front end developer, i met some backend developers that throw the sorting algorithm for me to deal with. Some backend developer do it all and all i had to do is calling api and done. i have big respect to the backend developers who do all the complicated algorithm and didnt throw it to frontend developer to do it

Collapse
 
aditya_dot_ts profile image
Aditya Singh

Excellent post

Collapse
 
j_xvw_a057242433886efa1c7 profile image
J XVW

Wisej Framework is the best framework

Collapse
 
nozibul_islam_113b1d5334f profile image
Nozibul Islam

great.

Collapse
 
georgewl profile image
George WL

I think you'll find this article really interesting!

dev.to/georgewl/top-5-tricks-for-w...

Collapse
 
eustachi0 profile image
Eustachio

"a sudden design change turned a simple frontend task into a week-long headache" I relate to this a lot

Great article, I enjoyed reading it. Cheers

Collapse
 
cosmas_chilewani_213166a7 profile image
COSMAS CHILEWANI

i use to think css is simple but it's another level like you spend alot of hours to come up with layout