WtfEvenIsExistence
link
fedilink
English
91Y

Is this some highly sophisticated programmer humor that I’m too tech-illiterate to understand?

judgeholden [he/him]
link
fedilink
English
301Y

JS bad, please clap

Scott
link
fedilink
English
101Y

👏

👏👏

👏👏👏

👏👏👏👏

VicFic!
link
fedilink
21Y

👏👏👏👏👏

Little diddy bout Jack and Diane

ITs NoT StRoNgLy TyPeD aNd Is ThErEfOrE gArBaGe

Give me one advantage of language that isn’t strongly typed

Kogasa
link
fedilink
2
edit-2
1Y

Fluent polymorphism via duck typing. It’s useful when you’re treating objects as a collection of properties, and therefore it’s not their type that matters but which properties they have. Types can still be used to label common collections of properties but it’s less painful to talk about objects that are “like an X but with/without certain properties,” or where some properties themselves have a different shape, etc. This is applicable to web APIs, not just because of JSON, but because it allows to define both very rigid and very flexible schemas without much overhead or repetition. See the OpenAPI specification.

It’s not a debate I care to have, I just think it’s funny that people want to build websites but hate how websites are built.

The real question is since when CSS is good?

exscape
link
fedilink
241Y

CSS is used to create the design, basically the look (colors, layout and so on), but no substance.
JavaScript is used to implement code and logic.

HTML + JavaScript would typically (since you’re supposed to use CSS to create colors and design) look very dull, thus the black-and-white Oppenheimer.

Rikudou_Sage
link
fedilink
English
01Y

document.querySelector('.whatever').style.color = "red";

Don’t recommend, though.

exscape
link
fedilink
21Y

Sure, but setting the .style attribute could really be argued as using CSS, just with a different interface. W3Schools refers to this as “inline CSS”.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog