• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: August 15th, 2023

help-circle
  • Context for people who don’t get the joke, the logo on the right is for Tailwind, a library that offers an alternative to using normal CSS for styling Web UIs and websites.

    It provides you with microclasses that add flexbox, margins, shadows etc. and discourages you from using the “Cascading” part of CSS (which was likely a mistake imo)

    Ultimately, it’s still CSS under the hood which is the joke.



  • Of course, but OOP is typically about putting methods on classes, inheritance of behaviour etc.

    JS Objects aren’t typically used that way, they tend to be used as pure data containers. At least, that’s how we mostly use them.

    Occasionally, we’ll use objects to simplify passing multiple arguments including arrow functions, but I’d say that doesn’t really count unless the arrow function mutates the object it’s a part of.