I am beginner who thought before doing the String Methods section of the course “You know what, let’s test my skills”. And boy my skills were tested. After I completed the challenge my jaw dropped, with the solution.

Had/Have this happened to y’all. Where you make something complicated and found out that there was a simple solution?

Solution

My Code

  • Kevin@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    From a maintainability standpoint, absolutely. Computers have gotten fast enough to let programmers optimize for developer time instead

    • annoyed-onion@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yep, this. The code we write is eventually used or extended by other developers. Or, more commonly, yourself after not touching it for 6 to 12 months, by which point you’ll have forgotten all about your clever tricks. (Speaking from experience of course 😉)

      • MrOzwaldManOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Maaan, I wanna be developer soo bad but where I live they want full-stack developers, not frontend developers.

        I know why they want full-stack developers, but why hire a front end developer and back end developer when you can hire full stack developer.

        The closest thing to a back end development is a DevOps Engineer.