spoiler

Hopefully it’s funny enough to offset that I’m reposting my own post.

  • driving_crooner@lemmy.eco.br
    link
    fedilink
    arrow-up
    0
    ·
    14 hours ago

    Writing an email and sending it are pretty different functions, it’s doesn’t looks like that because the sending part is just pressing a bottom and all the protocols and sever communication is done in the background hide from the user.

    It’s like asking the postal service to also write and package your mail and then open and read it for the recipient.

    I personally like that philosophy and try to use it in my job, with functions that only do one job and programs that only do one job and then just chain them and make calls from each other. My users doesn’t know it’s like that and they doesn’t notice any difference, but it’s help me debugging or implementing new functionalities.

    • uniquethrowagay@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      9 hours ago

      Can writing writing a word and formatting it bold and underlined not be considered three separate functions, requiring three different programs? That’s what the comment above was talking about

      • driving_crooner@lemmy.eco.br
        link
        fedilink
        arrow-up
        0
        ·
        9 hours ago

        You need two programs for that, one to write the text and other to display it with the format because different encodings can format differently.