Lemmy - RazBot
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
TechCodex@programming.dev to Programmer Humor@lemmy.mlEnglish · 2 years ago

Javascript can create atomic bombs

programming.dev

message-square
12
link
fedilink
20

Javascript can create atomic bombs

programming.dev

TechCodex@programming.dev to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
12
link
fedilink
alert-triangle
You must log in or # to comment.
  • Poob@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    This makes absolutely no sense. Front ends that include JavaScript still use css.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Maybe, but they don’t need to. You could write an HTML styling engine in JS if you wanted to.

    • KrankyKong@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      deleted by creator

      • darcy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        no frills? javascript is frills

      • Poob@lemmy.ca
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        2 years ago

        The only sites I can think of that don’t look like they use css are motherfuckingwebsite.com and bjarne stroustrup’s website.

        Any site that uses JS for more than trivial things is going to be a disaster without styling of some kind.

  • GreenMario@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Mid 90s HTML pre CSS:

  • argv_minus_one@beehaw.orgBanned
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Problem: Oppenheimer, unlike JavaScript, was actually competent.

  • EmperorHenry@sh.itjust.worksBanned
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Removed by mod

  • Pxtl@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    If you’ve seen the Barbie movie, there’s a scene where America Ferrera rants about the paradoxes in the expectations on women. The whole “be strong but not pushy” thing.

    That’s CSS.

  • WtfEvenIsExistence3️@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

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

    • exscape@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      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@lemmings.world
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        2 years ago

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

        Don’t recommend, though.

        • exscape@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          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”.

    • judgeholden [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      JS bad, please clap

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 99 users / day
  • 977 users / week
  • 3.27K users / month
  • 9.89K users / 6 months
  • 1 local subscriber
  • 37K subscribers
  • 1.69K Posts
  • 31.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org