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

[?]Iadicola » 🌐
@Iadicola@mastodon.social

Composite Pattern: trattare gerarchie come singoli oggetti

Pillar article sul Composite Pattern: come modellare strutture ad albero dove nodi e foglie condividono la stessa interfaccia.

Continua a leggere su iadicola.it: iadicola.it/articoli/composite

.4

Composite Pattern: trattare gerarchie come singoli oggetti — slide 1

Alt...Composite Pattern: trattare gerarchie come singoli oggetti — slide 1

Composite Pattern: trattare gerarchie come singoli oggetti — slide 2

Alt...Composite Pattern: trattare gerarchie come singoli oggetti — slide 2

Composite Pattern: trattare gerarchie come singoli oggetti — slide 3

Alt...Composite Pattern: trattare gerarchie come singoli oggetti — slide 3

Composite Pattern: trattare gerarchie come singoli oggetti — slide 4

Alt...Composite Pattern: trattare gerarchie come singoli oggetti — slide 4

    #refactoring boosted

    [?]ainews » 🌐
    @sayzard@mastodon.sayzard.org

    0xMarioNawfal (@RoundtableSpace)

    Codex Code Rot Cleaner가 애플리케이션 코드베이스에서 안전하게 제거 가능한 죽은 코드(dead code)를 탐지한다고 소개했다. 코드 생성 에이전트와 정적 분석을 결합해 레거시 코드 정리, 유지보수 비용 감소, 리팩터링 검토 자동화에 활용할 수 있는 개발 도구 사례다.

    x.com/RoundtableSpace/status/2

      #refactoring boosted

      [?]CppOnline » 🌐
      @cpponline@mastodon.social

      We have just released a new C++Online 2026 Conference Video!

      Refactoring Towards Structured Concurrency - Roi Barkan - C++Online 2026

      youtu.be/6502xFEreI8

        #refactoring boosted

        [?]Valerio Galano » 🌐
        @valeriogalano@mastodon.uno

        #refactoring boosted

        [?]Valerio Galano » 🌐
        @valeriogalano@mastodon.uno

        #refactoring boosted

        [?]Iadicola » 🌐
        @Iadicola@mastodon.social

        Visitor Pattern: aggiungere operazioni senza modificare le classi

        Pillar article sul Visitor Pattern: come aggiungere nuove operazioni a strutture di oggetti esistenti senza toccare le loro classi.

        Continua a leggere su iadicola.it: iadicola.it/articoli/visitor-p

        Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 1

        Alt...Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 1

        Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 2

        Alt...Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 2

        Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 3

        Alt...Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 3

        Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 4

        Alt...Visitor Pattern: aggiungere operazioni senza modificare le classi — slide 4

          #refactoring boosted

          [?]CppOnline » 🌐
          @cpponline@mastodon.social

          We have just released a new C++Online 2026 Conference Video!

          Refactoring Towards Structured Concurrency - Roi Barkan - C++Online 2026

          youtu.be/6502xFEreI8

            #refactoring boosted

            [?]Su_G » 🌐
            @Su_G@aus.social

            RE: aus.social/@andyjennings/11688

            Ha ha. Slopfix says it is:
            “getting paid according to how much code it deletes. Its three engineers agree to a line-reduction target before starting, with a stated example of whittling a 100,000-line project down to 35,000 while maintaining the same functionality. The best part? Slopfix uses AI coding agents itself to do the trimming.” but describes them as being kept on “a very short leash”.

            Interesting read & approach, was wondering when someone would do this…

              #refactoring boosted

              [?]Jason Yip » 🌐
              @jchyip@mastodon.online

              #refactoring boosted

              [?]Frontend Dogma » 🤖 🌐
              @frontenddogma@mas.to

              #refactoring boosted

              [?]CppOnline » 🌐
              @cpponline@mastodon.social

              We have just released a new C++Online 2026 Conference Video!

              Refactoring Towards Structured Concurrency - Roi Barkan - C++Online 2026

              youtu.be/6502xFEreI8

                #refactoring boosted

                [?]CppOnline » 🌐
                @cpponline@mastodon.social

                We have just released a new C++Online 2026 Conference Video!

                Refactoring Towards Structured Concurrency - Roi Barkan - C++Online 2026

                youtu.be/6502xFEreI8

                  Ted M. Young boosted

                  [?]Sebastian Hans » 🌐
                  @sebhans@hachyderm.io

                  Pro-tip: If your test is broken after refactoring the code, maybe you should check your refactoring instead of adapting the test to the new (wrong) behavior.

                    #refactoring boosted

                    [?]ainews » 🌐
                    @sayzard@mastodon.sayzard.org

                    Ag.ide Index, rank, and refactor your repo's worst code

                    AG.IDE는 로컬에서 전체 코드 저장소를 인덱싱하고, 가장 품질이 낮은 코드를 순위 매겨 AI 코딩 에이전트가 해당 부분을 집중적으로 개선하도록 지원하는 도구입니다. 클라우드 의존 없이 오프라인에서 실행되며, Rust와 GPU 가속을 활용해 빠른 분석과 반복적 리팩토링 루프를 구현합니다. 코드베이스 전체 구조와 의존성을 파악해 기술 부채를 지속적으로 줄이고 코드 품질을 향상시키는 점이 특징입니다. 현재 macOS 및 Linux에서 사용 가능하며, AI 에이전트와 협업하는 AI 개발자에게 실무 적용 가치가 있습니다.

                    agide.dev/

                      #refactoring boosted

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

                      #refactoring boosted

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

                      A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $6.50! leanpub.com/naming_shortguide

                        #refactoring boosted

                        [?]ainews » 🌐
                        @sayzard@mastodon.sayzard.org

                        BOOTOSHI (@KingBootoshi)

                        Codex가 ast-grep을 사용해 한 번에 리팩토링을 수행하는 장면을 언급한 짧은 트윗이다. AI 코딩 도구와 구조적 코드 검색/변환 도구의 조합 가능성을 보여주지만, 구체적 기술 정보는 제한적이다.

                        x.com/KingBootoshi/status/2063

                          [?]Nat Pryce » 🌐
                          @natpryce@mastodon.social

                          "The Switcheroo" - a combo that transforms an API *and its call sites* across the codebase.

                          A picture of a swiss army knife opened so that all of its blades and tools are visible.

A description of the "Switcheroo" refactoring combo:

1. Extract the entire body of the function into a new function.
2. Refactor the extracted function to have the API you want and the body of the old function to be how you want it to be invoked across the codebase.
3. Inline the old function:
everywhere is now using the new API.

                          Alt...A picture of a swiss army knife opened so that all of its blades and tools are visible. A description of the "Switcheroo" refactoring combo: 1. Extract the entire body of the function into a new function. 2. Refactor the extracted function to have the API you want and the body of the old function to be how you want it to be invoked across the codebase. 3. Inline the old function: everywhere is now using the new API.

                            [?]Nat Pryce » 🌐
                            @natpryce@mastodon.social

                            Four scales of , defined by how difficult it is to disseminate the change beyond an individual developer's workspace, and therefore whether you need to align on a refactoring *strategy*.

                            Single commit:
- Affects a single codebase and built artefact.
- Applied by one atomic commit.

Multiple commits:
- Creates wide-spread change in a single codebase and built artefact.
- Use Expand/Contract to minimise disruption to other team members.

Multiple deployments:
- Cannot change all affected code in a single commit without breaking the system.
- Requires multiple deployments with Expand/Contract to avoid downtime.
- Delivery rate affects internal quality

Multiple releases:
- Requires Expand/Contract across multiple organisations to avoid breaking clients
- Must meet contractual obligations with respect to API stability and evolution

                            Alt...Single commit: - Affects a single codebase and built artefact. - Applied by one atomic commit. Multiple commits: - Creates wide-spread change in a single codebase and built artefact. - Use Expand/Contract to minimise disruption to other team members. Multiple deployments: - Cannot change all affected code in a single commit without breaking the system. - Requires multiple deployments with Expand/Contract to avoid downtime. - Delivery rate affects internal quality Multiple releases: - Requires Expand/Contract across multiple organisations to avoid breaking clients - Must meet contractual obligations with respect to API stability and evolution

                              [?]Nat Pryce » 🌐
                              @natpryce@mastodon.social

                              Expand/Contract: a strategy to avoid disrupting work in progress by other team members, or to avoid breaking clients during zero-downtime deployments.

                              Expand/Contract illustrated by an old black-and-white photograph of accordion players.

The Expand/Contract refactoring strategy is:

1. Add new features
2. Migrate code to use the new features
3. Remove old features when is safe to do so

                              Alt...Expand/Contract illustrated by an old black-and-white photograph of accordion players. The Expand/Contract refactoring strategy is: 1. Add new features 2. Migrate code to use the new features 3. Remove old features when is safe to do so

                                Jason Gorman boosted

                                [?]Nat Pryce » 🌐
                                @natpryce@mastodon.social

                                To refactor a system from an object-oriented design to a functional design, we adopt a strategy of moving actions to the edge of the system, leaving the application domain model as immutable data and pure calculations.

                                We are using the terminology of "data", "calculations", and "actions" from the book "Grokking Simplicity" by Eric Normand.

                                In our workshop we work through different refactoring techniques to move actions to the edge of the system.

                                Nested hexagons representing the hexagonal architecture, with an arrow labelled "actions" pointing from the center to the edge.  The core hexagon representing the application domain model is labeled "Calculations & Data".

                                Alt...Nested hexagons representing the hexagonal architecture, with an arrow labelled "actions" pointing from the center to the edge. The core hexagon representing the application domain model is labeled "Calculations & Data".

                                  Ted M. Young boosted

                                  [?]Nat Pryce » 🌐
                                  @natpryce@mastodon.social

                                  Duncan and I will be at UK on June 18th and will use some of these practices to take control of LLM-generated code. LLMs default to generating code that is monolithic, procedural, and makes wide use of mutable state. is a good way to give the LLM patterns to follow. Separating actions from data & calculations, composing calculations, and proving consistency by type checking, are all good strategies to keep generated code comprehensible by humans.

                                  socratesuk.org/training_day.ht

                                    #refactoring boosted

                                    [?]ainews » 🌐
                                    @sayzard@mastodon.sayzard.org

                                    Unhealthy code makes AI agents consume 35-50% more tokens

                                    CodeScene 연구에 따르면, 건강하지 않은 코드베이스에서 AI 에이전트가 동일 작업을 수행할 때 최대 50% 더 많은 토큰을 소비한다. C++, Java, Python 세 언어 모두에서 코드 건강도가 낮을수록 토큰 사용량과 오류 발생률이 증가하며, 이는 비용 상승으로 직결된다. CodeScene은 코드 건강도를 개선하고 AI 에이전트의 토큰 낭비를 줄이는 MCP 서버 도구를 제공해, AI 기반 개발 비용 절감과 품질 향상을 동시에 도모할 수 있음을 보여준다.

                                    codescene.com/blog/unhealthy-c

                                      #refactoring boosted

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

                                      A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $6.50! leanpub.com/naming_shortguide

                                        #refactoring boosted

                                        [?]Frontend Dogma » 🤖 🌐
                                        @frontenddogma@mas.to

                                        #refactoring boosted

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

                                        A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $6.50! leanpub.com/naming_shortguide

                                          #refactoring boosted

                                          [?]ainews » 🌐
                                          @sayzard@mastodon.sayzard.org

                                          James T (@JamesTervit)

                                          Chronara AI의 one-shot restructure를 사용해 gists를 바탕으로 1980년대 스타일의 폴리곤 게임을 HTML5로 재현했다는 사례. SuperGrok 결과와 함께 98% 수준의 복원도를 언급하며, 코드 리팩터링/재구성용 AI 활용 가능성을 보여줍니다.

                                          x.com/JamesTervit/status/20558

                                            Back to top - More...