• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4251 shaares
 
Filters
2 results tagged oop

How Marketing Changed OOP In JavaScript — Smashing Magazine

QRCode

Discussing the decisions surrounding JavaScript prototypes, the article by Juan Diego Rodriguez scrutinizes their origin, examines missteps in the design, and explores how these factors have affected the way we write JavaScript today.

There is no difference, and JavaScript will execute the same code, but the latter example is honest about what JavaScript is doing under the hood, while the former hides it behind syntactic sugar.

Do I have a problem with the classical approach? Yes and no. An argument can be made that the classical syntax improves readability by having all the code related to the class inside a block scope. On the other hand, it’s misleading and has led thousands of developers to believe that JavaScript has true classes when a class in JavaScript is no different from any other function object.

https://www.smashingmagazine.com/2023/12/marketing-changed-oop-javascript/
January 13, 2024 at 11:03:02 AM EST *
javascript programming oop
FILLER

perl.com: Object-Oriented Perl

QRCode
http://www.perl.com/pub/a/2001/11/07/ooperl.html
December 4, 2009 at 3:43:41 PM EST *
perl oop
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community