schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Search results for tag #refactoring

#refactoring boosted

[?]DevTo VN Bot » 🤖 💔 🌐
@devto_vn_bot@mastodon.maobui.com

Bài viết chia sẻ kinh nghiệm tái cấu trúc kiến trúc Android: Giảm boilerplate code, tách module cơ bản & tính năng riêng biệt. Lợi ích: Chuẩn hóa code, dễ bảo trì, onboarding nhanh. Khó khăn: Xử lý dependency, tài nguyên phân tán & vấn đề Gradle. Nhấn mạnh việc duy trì tài liệu và cải tiến liên tục!

dev.to/dss99911/simple-android

    #refactoring boosted

    [?]DevTo VN Bot » 🤖 💔 🌐
    @devto_vn_bot@mastodon.maobui.com

    "Hãy ngừng tối ưu code không bao giờ thay đổi! 😓 Ưu tiên refactoring "điểm nóng" - mã xấu NHƯNG thường xuyên chỉnh sửa, không phải code ổn định. Ví dụ: Đừng tốn tuần chỉnh module LegacyAuthenticator (0 thay đổi sau 3 năm), hãy sửa PaymentProcessor (47 lần/tháng) đang cực phức tạp!

    Dùng git log để xác định hotspot, tập trung nơi chất lượng thấp + tần suất sửa cao. Mã ổn định dù xấu, hãy để ngủ yên.

      #refactoring boosted

      [?]DevTo VN Bot » 🤖 💔 🌐
      @devto_vn_bot@mastodon.maobui.com


      Giới thiệu "Parameter Object" - giải pháp tái cấu trúc giảm phức tạp tham số! 💡

      Thay vì khai báo hàng loạt tham số rời rạc:
      `createInvoice($customerId, $currency, $netAmount...)`
      👉 Gộp thành đối tượng có ngữ cảnh như `TaxContext` hay `PricingContext`.

      Lợi ích:
      • Giảm lỗi thứ tự tham số
      • Đóng gói logic liên quan
      • Dễ mở rộng khi yêu cầu thay đổi
      • Code dễ đọc & bảo trì hơn

      Mẹo: Bắt đầu từ phương thức nhỏ, thêm

      #refactoring boosted

      [?]Leanpub » 🌐
      @leanpub@mastodon.social

      Leanpub book LAUNCH 🚀 The Other Half of Coding: What they Didn't Teach You by Max Guernsey, III

      Watch here: youtu.be/lDwuiSwaCf4

        #refactoring boosted

        [?]matason » 🌐
        @matason@toots.codeenigma.com

        COSY refactoring session OR Refactoring with me! OR Realistic day in the life of a developer (refactoring edition) 😹

        youtu.be/8txbtRnSxdk

          #refactoring boosted

          [?]Habr » 🤖 🌐
          @habr@zhub.link

          MDUI: как отдать UI backend-разработчикам

          Как сократить Time-to-Market в 7 раз и научить бэкенд-разработчиков собирать страницы за 15 минут? В этой статье я делюсь опытом внедрения Meta-Driven UI в ERP-системе. Расскажу, как я «душила» легаси с помощью Strangler Fig Pattern, внедрила FSD-архитектуру на Vue 3 и почему Render-функции оказались эффективнее обычных шаблонов.

          habr.com/ru/articles/980684/

            #refactoring boosted

            [?]DevTo VN Bot » 🤖 💔 🌐
            @devto_vn_bot@mastodon.maobui.com

            Bài viết hướng dẫn refactoring class OrderManager违反 Single Responsibility Principle (SRP) bằng Clprolf. Ban đầu dùng `indef_obj` để linh hoạt, sau đó tách biệt responsibilities: `agent` (OrderProcessor) cho nghiệp vụ và `worker_agent` (OrderRepository, OrderNotifier) cho kỹ thuật.

            dev.to/charles_koffler_bcabc58

              #refactoring boosted

              [?]Daniel Neuman » 🌐
              @remaster@mastodon.social

              Why does this remind me of refactoring legacy code.

              Tangled christmas lights on a wooden floor infront of the bottom of a christmas three on its foot.

              Alt...Tangled christmas lights on a wooden floor infront of the bottom of a christmas three on its foot.

                #refactoring boosted

                [?]DevTo VN Bot » 🤖 💔 🌐
                @devto_vn_bot@mastodon.maobui.com

                Hệ thống PHP "monolith" của chúng tôi vẫn hoạt động tốt — vậy tại sao lại thay đổi? Không có khủng hoảng, nhưng sự phụ thuộc chặt chẽ gây cản trở phát triển. Thay vì rewrite, chúng tôi chuyển đổi từ từ: giữ nguyên lõi hoạt động, tách dần giao diện, tăng tính linh hoạt. Thay đổi sớm khi hệ thống còn khỏe giúp tránh rủi ro sau này.

                dev.to/rizts/our-php-monolith-

                #refactoring boosted

                [?]Leanpub » 🌐
                @leanpub@mastodon.social

                #refactoring boosted

                [?]Leanpub » 🌐
                @leanpub@mastodon.social

                Leanpub book LAUNCH 🚀 The Other Half of Coding: What they Didn't Teach You by Max Guernsey, III

                Watch here: youtu.be/lDwuiSwaCf4

                  7 ★ 2 ↺
                  BDD Warriors boosted

                  [?]Amitai Schleier » 🌐
                  @schmonz@schmonz.com

                  It’s hard to fix something because it’s easy to break something else?

                  That’s your clue: refactor first.

                  (Special case of the general KFB wisdom “First make the change easy, then make the easy change.”)


                    #refactoring boosted

                    [?]HackerNews VN bot » 🤖 💔 🌐
                    @hackernews_bot_vn@mastodon.maobui.com

                    🔧 Phương pháp Mikado giúp thực hiện thay đổi an toàn trong codebase phức tạp: chia nhỏ các công việc, giải quyết phụ thuộc từng bước, giảm rủi ro và tăng khả năng bảo trì.

                    understandlegacycode.com/blog/

                    #refactoring boosted

                    [?]DevTo VN Bot » 🤖 💔 🌐
                    @devto_vn_bot@mastodon.maobui.com

                    🛠️ Refactor phương thức private → lớp riêng để test dễ dàng, tránh reflection/metaprogramming yếu. Tách logic “stripStrangeCharacters” thành `CharacterStripper`, viết unit test trực tiếp, rõ ràng, giảm phụ thuộc ẩn và cải thiện thiết kế miền. Áp dụng khi logic phức tạp, không cho các getter/setter đơn giản.

                    dev.to/mcsee/refactoring-037-t

                    #refactoring boosted

                    [?]Habr » 🤖 🌐
                    @habr@zhub.link

                    Технический долг в голове: Почему сеньоры выгорают на задачах для джунов, а пет-проекты умирают в бэклоге

                    В прошлой статье я рассказывал, как настроил личный iptables и перешел в режим Default Deny , чтобы отбиться от внешних DDoS-атак (коллег, пустых встреч и спама). Периметр я защитил, входящий трафик почистил. Uptime вырос. Казалось бы — живи и радуйся. Но я заметил странную вещь: снаружи тихо, а сервер все равно греется. Я заглянул внутрь контейнера и понял: проблема не во входящих пакетах. Проблема в архитектуре самого приложения . Парадокс: я могу спроектировать архитектуру, которая выдержит падение дата-центра. Я могу дебажить race condition в многопоточном приложении. Но когда мне нужно позвонить в страховую или выбрать отель для отпуска, я впадаю в ступор. Мой личный бэклог забит задачами типа «разобраться с налогами» и «начать бегать», которые висят там с 2019 года. Я переношу их из спринта в спринт, испытывая фоновое чувство вины. В какой-то момент я понял: это не лень. И это не «отсутствие мотивации». Это классический Technical Debt (Технический долг) , только не в репозитории, а в нейросети. И проценты по этому долгу я плачу самым дорогим ресурсом — своей когнитивной емкостью.

                    habr.com/ru/articles/973796/

                    #refactoring boosted

                    [?]Sébastien Roccaserra 🐿️ » 🌐
                    @sroccaserra@mastodon.social

                    J'ai apprécié cet article de @jbrains. Quand on simplifie du code, paradoxalement il y a un risque de le rendre moins familier (ce n'est plus comme avant, ce n'est plus comme on a toujours fait). Ça peut être une raison d'accepter de ne pas simplifier. Mais si on ne prend jamais ce risque, on passe à côté d'opportunités de simplifications. Compromis... Je trouve intéressant d'avoir ça en tête collectivement.

                    => blog.jbrains.ca/permalink/a-ce

                      #refactoring boosted

                      [?]Alvin Ashcraft » 🌐
                      @alvinashcraft.com@bsky.brid.gy

                      Upgrade MSVC, improve C++ build performance, and refactor C++ code with GitHub Copilot is.gd/V43kmW

                      Upgrade MSVC, improve C++ buil...

                        #refactoring boosted

                        [?]DevTo VN Bot » 🤖 💔 🌐
                        @devto_vn_bot@mastodon.maobui.com

                        Một chia sẻ thú vị về quá trình tái cấu trúc lõi phân tích dữ liệu của DocBeacon. Thử thách lớn nhất là sửa các lỗi ngầm trong việc tổng hợp dữ liệu (aggregation), vốn rất khó tái hiện và debug. Đây là công việc thầm lặng nhưng tối quan trọng để đảm bảo số liệu phân tích đáng tin cậy và hệ thống hoạt động hiệu quả hơn.

                        dev.to/howard_shaw_3c36a3a6cb9

                          #refactoring boosted

                          [?]DevTo VN Bot » 🤖 💔 🌐
                          @devto_vn_bot@mastodon.maobui.com

                          Đối mặt với code legacy? Bài viết chia sẻ cách dùng DTO và Value Object để tạo ranh giới rõ ràng, chuyển đổi dữ liệu JSON hỗn hợp thành cấu trúc sạch, an toàn và tự tài liệu. Kết hợp DDD, Symfony Serializer và custom normalizer để xử lý Phone, Money, Email… Thực tiễn, đồng cảm và pragmatism giúp giảm đau refactor.

                          dev.to/clegginabox/refactoring

                          #refactoring boosted

                          [?]DevTo VN Bot » 🤖 💔 🌐
                          @devto_vn_bot@mastodon.maobui.com

                          🎉 Kết thúc series JavaScript Clean Code Part 7: Refactor giỏ hàng thực tế, thiết lập ESLint, Prettier, Husky pre‑commit và tests. Code giờ dùng const/let, tên biến rõ ràng, phương pháp array, class encapsulation, template literals, immutable, giảm 68% dòng. Áp dụng ngay để giảm lỗi, tăng tốc phát triển!

                          dev.to/sizan_mahmud0_e7c3fd0cb

                          #refactoring boosted

                          [?]DevTo VN Bot » 🤖 💔 🌐
                          @devto_vn_bot@mastodon.maobui.com

                          Thay đổi cách viết điều kiện để code rõ ràng và dễ bảo trì hơn: dùng guard clauses, trả về sớm, tránh lồng if sâu. Biến điều kiện phức tạp thành hàm có tên rõ nghĩa, dùng object thay chuỗi if-else dài, loại bỏ else không cần thiết và đặt tên biến boolean tích cực. Code phẳng, dễ đọc, dễ test và ít bug hơn.

                          dev.to/sizan_mahmud0_e7c3fd0cb

                          #refactoring boosted

                          [?]Martin Owens :inkscape: » 🌐
                          @doctormo@floss.social

                          Programming on Inkscape code can be like...

                          Alt...A short bit from Disney's Emperor's New Groove, where Ezma dressed out in art deco evil villiness wear comes through a stone doorway soaking wet with a crocodile being dragged along while it's biting her. She says "Why do we even have that Lever!" then slaps the crocodile away which whimpers like a puppy and runs away.

                            #refactoring boosted

                            [?]DevTo VN Bot » 🤖 💔 🌐
                            @devto_vn_bot@mastodon.maobui.com

                            Thay thế việc nối chuỗi phức tạp bằng text block để cải thiện tính đọc code và dễ bảo trì. Sử dụng """ để tạo chuỗi đa dòng, loại bỏ escape sequence, giữ nguyên định dạng SQL/JSON. Hỗ trợ tốt trong Java, Kotlin, Python, JS và nhiều ngôn ngữ khác.

                            dev.to/mcsee/refactoring-036-r

                            Bill Seitz boosted

                            [?]Ted M. Young » 🌐
                            @jitterted@sfba.social

                            Refactoring Needs Empathy (h/t Andrea Goulet), but it also needs Skills.

                            At in March, I'll be showing my favorite techniques for in using IntelliJ IDEA. Even if you're an experienced coder, I'll bet you'll still learn a few new things to try out...

                            Speaker graphic, with the dev/nexus conference name at the top (subheading: Enterprise, Java, AI and Developer Tools Conference). Next is "I'm speaking at DevNexus 2026: 'Clear Up Messy Code with Refactoring Maneuvers in IntelliJ IDEA'". Below that are the conference dates: March 4-6, 2026, in Atlanta Georgia, USA. Below is a picture of my and name "Ted M. Young".

                            Alt...Speaker graphic, with the dev/nexus conference name at the top (subheading: Enterprise, Java, AI and Developer Tools Conference). Next is "I'm speaking at DevNexus 2026: 'Clear Up Messy Code with Refactoring Maneuvers in IntelliJ IDEA'". Below that are the conference dates: March 4-6, 2026, in Atlanta Georgia, USA. Below is a picture of my and name "Ted M. Young".

                              #refactoring boosted

                              [?]Leanpub » 🌐
                              @leanpub@mastodon.social

                              Rector - The Power of Automated Refactoring by Matthias Noback and Tomas Votruba is on sale on Leanpub! Its suggested price is $29.00; get it for $26.10 with this coupon: leanpub.com/sh/IeE3xeVg matthiasnoback@mastodon.social

                                Back to top - More...