DEV Community

Discussion on: Encapsulation Explained using JavaScript

Collapse
 
efpage profile image
Eckehard

C++ is good at providing a human oriented representation of the problem in the source code but bad at providing a machine representation of the solution. So, should we use Assembler again? I assume, before ChatGPT most web designers have been humans, so what is bad about a human oriented representation of a problem?

React was not designed to deliver an "optimal" solution. It was designed to make things simpler, even at the price of a high workload to do all the DOM diffing. Browsers are so increadible powerful today, why should we need an "optimal" solution? It´s perfectly ok if it´s simple and understandable.

Thread Thread
 
peerreynders profile image
peerreynders • Edited

Browsers are so incredibly powerful today, why should we need an "optimal" solution?

“… static web site. You see in the trace what's going on here is a badly configured Angular application. It's easy to fix but they just don't have a reason to care, this isn't their problem. Right, it's fast on their iPhone!

Alex Russell - The Mobile Web: MIA - YouTube

Responsive Design didn't work, at least not the way we tried to apply it as a community. How do we know? Because nearly a decade after we adopted it as our p...

favicon youtube.com

Clean Code Q & A

Clean Code Q & A Part 2


This is why performance matters