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
    Alex Gleason (alex@gleasonator.com)'s status on Friday, 09-Feb-2024 12:47:57 JST Alex Gleason Alex Gleason
    After learning to code, I heard that Object Oriented code was bad. Convinced by the arguments, I moved into functional programming. It blew my mind. It changed the way I write code. But I was still implementing a lot of interfaces. Now more than ever. Because ideally, you can build your software like Lego blocks where pieces of it can be easily switched in and out.

    Anyway, I moved back to writing TypeScript again, now with new ideas. Hyper minimalism. TSDocs on every function. Fully tested. At first I avoided using classes. But then I realized they're the best way to implement interfaces. Now everything is about interfaces. What's right is the *separation of concerns*. Thanks for coming to my TED Talk.
    In conversation about a year ago from gleasonator.com permalink
    • Embed this notice
      jb55 (32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245@mostr.pub)'s status on Saturday, 23-Mar-2024 23:20:01 JST jb55 jb55
      in reply to
      This describes my programming journey as well. I’ve even described it exactly this way in the past (lego blocks)

      Before functional programming a spent a lot of time refactoring and restructuring code. Functional programming teaches you to build composable programs (legos) where you can swap out bits so you never really have to restructure things that often.

      It drastically changed the way I write code in every other language. Haskell taught me to separate pure code from effectful code, most languages don’t force this separation of concerns.

      I still hate classes though and prefer PoD structs and functions.
      In conversation about a year ago permalink
      Alex Gleason likes this.

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.