GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    masukomi (masukomi@connectified.com)'s status on Tuesday, 27-Aug-2024 05:09:26 JST masukomi masukomi

    THIS. So Much this.

    This is what I am constantly trying to teach younger devs.

    The best code is the most stupid-simple solution to the problem that runs in acceptable time.

    The new intern fresh out of boot camp, with no understanding of the context should be able understand what it's doing.

    #programming

    In conversation about 10 months ago from connectified.com permalink

    Attachments


    1. https://cdn.masto.host/connectifiedcom/media_attachments/files/113/028/338/207/212/254/original/3659c922b8d24669.png
    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Tuesday, 27-Aug-2024 05:12:21 JST Paul Cantrell Paul Cantrell
      in reply to
      • Hrefna (DHC)

      @masukomi @hrefna From an in-class activity I was just working up for the upcoming semester:

      “In most circumstances, good code is not clever or complex; it is •obvious•.”

      (Larger excerpt below for the curious. The activity involves reading different versions of English-language instructions for opening a door, ranging from absurd detail to “open the door.”)

      In conversation about 10 months ago permalink

      Attachments


      1. https://media.hachyderm.io/media_attachments/files/113/030/144/894/222/199/original/8a365d7655a53ddf.png
    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Tuesday, 27-Aug-2024 05:16:18 JST Paul Cantrell Paul Cantrell
      in reply to
      • Hrefna (DHC)

      @masukomi @hrefna
      Yeah, “obvious to whom?” and “who is the reader?” are subtle and crucial questions for all writing, code included.

      In conversation about 10 months ago permalink
    • Embed this notice
      masukomi (masukomi@connectified.com)'s status on Tuesday, 27-Aug-2024 05:16:20 JST masukomi masukomi
      in reply to
      • Paul Cantrell
      • Hrefna (DHC)

      @inthehands @hrefna agreed, but i think there is an important aspect it’s missing. It should be obvious to juniors and new hires with no institutional knowledge.

      To often we write code that is obvious to people who’ve been there for years but may as well be a paragraph of random jargon terms to an experienced new hire without the context

      In conversation about 10 months ago permalink

      Attachments


    • Embed this notice
      Paul Cantrell (inthehands@hachyderm.io)'s status on Thursday, 29-Aug-2024 04:42:36 JST Paul Cantrell Paul Cantrell
      in reply to
      • Jonathan Joelson

      @jjoelson @masukomi
      Ah, yes, this is what microservices are for!

      (For •creating• this problem, that is, not solving it)

      In conversation about 10 months ago permalink
    • Embed this notice
      Jonathan Joelson (jjoelson@mastodon.social)'s status on Thursday, 29-Aug-2024 04:42:37 JST Jonathan Joelson Jonathan Joelson
      in reply to
      • Paul Cantrell

      @masukomi @inthehands It’s definitely good to avoid unnecessary complexity, but in real life projects I find that the biggest cause of bugs is duplicate sources of truth and data inconsistency across the system. Sometimes maintaining a single source of truth involves refactoring and creating abstractions which are not always simple.

      In conversation about 10 months ago permalink
    • Embed this notice
      Jonathan Joelson (jjoelson@mastodon.social)'s status on Thursday, 29-Aug-2024 04:42:37 JST Jonathan Joelson Jonathan Joelson
      in reply to
      • Paul Cantrell

      @masukomi @inthehands I actually see a lot of bugs caused by devs trying to keep things as simple as possible in the micro, while accidentally introducing system-wide complexity via duplicate sources of truth.

      In conversation about 10 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.