Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
barsoap ( barsoap@lemm.ee )  to Science Memes@mander.xyzEnglish · 2 years ago

Equality

ro-che.info

external-link
message-square
13
link
fedilink
105
external-link

Equality

ro-che.info

barsoap ( barsoap@lemm.ee )  to Science Memes@mander.xyzEnglish · 2 years ago
message-square
13
link
fedilink
Cartesian Closed Comic #18: Equality
ro-che.info
external-link

alert-triangle
You must log in or register to comment.
  • ShaunaTheDead ( ShaunaTheDead@fedia.io ) 
    link
    fedilink
    arrow-up
    43
    ·
    2 years ago

    The teacher’s meaning is clear, which is the purpose of language. Mickey’s just being a grammar nazi.

  • lowleveldata ( lowleveldata@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    25
    ·
    2 years ago

    Actually we don’t know whether 2+3 equals to 3+2 without seeing the definition of the + operator

    • barsoap ( barsoap@lemm.ee ) OP
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years ago

      Fun fact: C doesn’t even guarantee a + b == a + b

      • lowleveldata ( lowleveldata@programming.dev ) 
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 years ago

        *If a and b are float

        • barsoap ( barsoap@lemm.ee ) OP
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 years ago

          Or signed integers because overflow is undefined. It could do the left-hand computation in two’s complement and the right hand in sign-magnitude, leading to different results. Or, as it’s undefined, it could brew you some coffee and serve it with an aspirin.

      • Nat (she/they) ( zea_64@lemmy.blahaj.zone ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        C doesn’t even guarantee a == a

  • Ben Matthews ( benjhm@sopuli.xyz ) 
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 years ago

    As a small kid I learned i = i +1, before any maths teacher told me it couldn’t.

    • gentooer ( gentooer@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 years ago

      As a physicist, this is correct if I is sufficiently large

      • barsoap ( barsoap@lemm.ee ) OP
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 years ago

        That’s like asking a fusion researcher whether the reactor needs to reach 100 million Celsius or Kelvin, isn’t it.

    • abcd ( abcd@feddit.de ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      As a software developer this is a 100%* correct operation.

      *From a logical perspective in C-like pseudocode. In reality you may have to add a „;“, a line break or other line delimiters if someone from Stackoverflow reads this

  • hsdkfr734r ( hsdkfr734r@feddit.nl ) 
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 years ago

    He could ask for clarification and discuss word definitions if the situation indicates a misunderstanding.

  • Dippy ( Dippy@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    It also equals 25÷5, 1+4, 36-31

  • sk ( sk@forums.utsukta.org ) 
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    lol

Science Memes@mander.xyz

science_memes@mander.xyz

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: !science_memes@mander.xyz

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don’t throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

  • !spiders@lemmy.world

Other Mander Communities

Science and Research

  • !academia@mander.xyz
  • !science@mander.xyz
  • !scicomm@mander.xyz

Biology and Life Sciences

  • !abiogenesis@mander.xyz
  • !animal-behavior@mander.xyz
  • !anthropology@mander.xyz
  • !arachnology@mander.xyz
  • !balconygardening@slrpnk.net
  • !biodiversity@mander.xyz
  • !biology@mander.xyz
  • !biophysics@mander.xyz
  • !botany@mander.xyz
  • !ecology@mander.xyz
  • !entomology@mander.xyz
  • !fermentation@mander.xyz
  • !herpetology@mander.xyz
  • !houseplants@mander.xyz
  • !medicine@mander.xyz
  • !microscopy@mander.xyz
  • !mycology@mander.xyz
  • !nudibranchs@mander.xyz
  • !nutrition@mander.xyz
  • !palaeoecology@mander.xyz
  • !palaeontology@mander.xyz
  • !photosynthesis@mander.xyz
  • !plantid@mander.xyz
  • !plants@mander.xyz
  • !reptiles and amphibians@mander.xyz

Physical Sciences

  • !astronomy@mander.xyz
  • !chemistry@mander.xyz
  • !earthscience@mander.xyz
  • !geography@mander.xyz
  • !geospatial@mander.xyz
  • !nuclear@mander.xyz
  • !physics@mander.xyz
  • !quantum-computing@mander.xyz
  • !spectroscopy@mander.xyz

Humanities and Social Sciences

  • !archaeology@mander.xyz
  • !folklore@mander.xyz
  • !history@mander.xyz
  • !old_maps@mander.xyz

Practical and Applied Sciences

  • !exercise-and sports-science@mander.xyz
  • !gardening@mander.xyz
  • !self sufficiency@mander.xyz
  • !soilscience@slrpnk.net
  • !terrariums@mander.xyz
  • !timelapse@mander.xyz

Memes

  • !bushrat_confidential@slrpnk.net
  • !science_memes@mander.xyz

Miscellaneous

  • !answered@mander.xyz
  • !mander@mander.xyz
Visibility: Public
globe

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

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 6.26K users / 6 months
  • 288 local subscribers
  • 21.2K subscribers
  • 1.06K Posts
  • 11.6K Comments
  • Modlog
  • mods:
  • Salamander ( Sal@mander.xyz ) 
  • Track_Shovel ( Track_Shovel@slrpnk.net ) 
  • LadyButterfly she/her ( LadyButterfly@piefed.blahaj.zone ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code