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

[?]Nebraska.Code ยป 🌐
@NebraskaCode@mastodon.social

๐Ÿ—บ๏ธ Refactoring doesn't have to feel overwhelming.

Joshua Holland shares at Nebraska.Code() how the Mikado Method helps teams uncover dependencies, plan incremental improvements, and safely tackle technical debt in complex codebases.

nebraskacode.amegala.com/

    #refactoring boosted

    [?]Meteora Web ยป 🌐
    @meteoraweb@mastodon.social

    ๐Ÿšจ NEWS: TDD in pratica: Red, Green, Refactor โ€” la guida operativa per sviluppatori

    Ecco i punti chiave in breve:
    ๐Ÿ’ก Il tuo codice funziona? Ne sei sicuro? Quante volte hai aggiunto una feature e scoperto che quella vecchia si รจ rotta? Noi, di Meteora Web, lo vediamo tutti i giorni nei progetti che ci arrivano....

    ๐Ÿš€ LINK: meteoraweb.com/analisi-dei-dat

      #refactoring boosted

      [?]Jeferson 'Shin' ยป 🌐
      @shinspiegel@mastodon.social

      [?]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

                [?]sayzard ยป 🌐
                @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

                  [?]Meteora Web ยป 🌐
                  @meteoraweb@mastodon.social

                  ๐Ÿšจ NEWS: Perchรฉ usare TypeScript nel 2025: vantaggi reali rispetto a JavaScript puro

                  Ecco i punti chiave in breve:
                  ๐Ÿ’ก JavaScript ti fa perdere tempo (e soldi)? Non sei soloLavori su un progetto JavaScript che cresce. Ogni volta che aggiungi una funzione, ti chiedi: "sto chiamando questa proprietร  giusta? Il parametro...

                  ๐Ÿš€ LINK: meteoraweb.com/analisi-dei-dat

                    #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

                      [?]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

                        [?]sayzard ยป 🌐
                        @sayzard@mastodon.sayzard.org

                        James T (@JamesTervit)

                        Chronara AI์˜ one-shot restructure๋ฅผ ์‚ฌ์šฉํ•ด gists๋ฅผ ๋ฐ”ํƒ•์œผ๋กœ 1980๋…„๋Œ€ ์Šคํƒ€์ผ์˜ ํด๋ฆฌ๊ณค ๊ฒŒ์ž„์„ HTML5๋กœ ์žฌํ˜„ํ–ˆ๋‹ค๋Š” ์‚ฌ๋ก€. SuperGrok ๊ฒฐ๊ณผ์™€ ํ•จ๊ป˜ 98% ์ˆ˜์ค€์˜ ๋ณต์›๋„๋ฅผ ์–ธ๊ธ‰ํ•˜๋ฉฐ, ์ฝ”๋“œ ๋ฆฌํŒฉํ„ฐ๋ง/์žฌ๊ตฌ์„ฑ์šฉ AI ํ™œ์šฉ ๊ฐ€๋Šฅ์„ฑ์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

                        x.com/JamesTervit/status/20558

                          #refactoring boosted

                          [?]sayzard ยป 🌐
                          @sayzard@mastodon.sayzard.org

                          Refactoring as Algebra: Small Steps to Clarity

                          ์ด ๊ธ€์€ ๋ณต์žกํ•˜๊ณ  ์ดํ•ดํ•˜๊ธฐ ์–ด๋ ค์šด ์ฝ”๋“œ ์กฐ๊ฐ์„ ๋‹จ๊ณ„๋ณ„๋กœ ๋ฆฌํŒฉํ† ๋งํ•˜์—ฌ ๋ช…ํ™•ํ•˜๊ณ  ์˜๋„๋ฅผ ์ž˜ ๋“œ๋Ÿฌ๋‚ด๋Š” ์ฝ”๋“œ๋กœ ๋ฐ”๊พธ๋Š” ๊ณผ์ •์„ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ํ•ต์‹ฌ์€ ๊ณ„์‚ฐ๊ณผ ์ƒํƒœ ๋ณ€์ด๋ฅผ ๋ถ„๋ฆฌํ•˜๊ณ , ๋ณต์žกํ•œ ์กฐ๊ฑด๋ฌธ์„ ๋‹จ์ˆœํ™”ํ•˜๋ฉฐ, ์ค‘๋ณต ์ฝ”๋“œ๋ฅผ ์ผ์‹œ์ ์œผ๋กœ ํ—ˆ์šฉํ•ด ์ตœ์ข…์ ์œผ๋กœ ๋” ๊ฐ„๊ฒฐํ•˜๊ณ  ๋ช…ํ™•ํ•œ ์ฝ”๋“œ๋กœ ๋งŒ๋“œ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํŠนํžˆ, ๋ถ„๋ฐฐ์™€ ์œตํ•ฉ(Distribute for Fusion) ๊ธฐ๋ฒ•์„ ํ†ตํ•ด ์ค‘๋ณต์„ ์ œ๊ฑฐํ•˜๊ณ , ๋ณ€์ˆ˜ ์ถ”์ถœ๊ณผ ์กฐ๊ฑด๋ฌธ ๋‹จ์ˆœํ™”๋กœ ์ฝ”๋“œ์˜ ์˜๋„๋ฅผ ๋ช…ํ™•ํžˆ ํ‘œํ˜„ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๋‹ค๋ฃน๋‹ˆ๋‹ค. ์ด ๊ณผ์ •์€ ์†Œํ”„ํŠธ์›จ์–ด ์—”์ง€๋‹ˆ์–ด๊ฐ€ ์œ ์ง€๋ณด์ˆ˜์„ฑ๊ณผ ๊ฐ€๋…์„ฑ์„ ๋†’์ด๊ธฐ ์œ„ํ•ด ๋ฆฌํŒฉํ† ๋งํ•  ๋•Œ ์œ ์šฉํ•œ ์‹ค์ „ ๊ธฐ๋ฒ•์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

                          ignition.github.io/posts/refac

                            #refactoring boosted

                            [?]Nebraska.Code ยป 🌐
                            @NebraskaCode@mastodon.social

                            #refactoring boosted

                            [?]sayzard ยป 🌐
                            @sayzard@mastodon.sayzard.org

                            GenAI with Rahul (@genaiwithrahul)

                            /goal ํ”Œ๋ž˜๊ทธ๊ฐ€ ๊ธด ํ˜ธํก์˜ ์ฝ”๋”ฉ ์ž‘์—…์—์„œ ๊ฒŒ์ž„ ์ฒด์ธ์ €๋กœ ์†Œ๊ฐœ๋๋‹ค. ๋งค ๋‹จ๊ณ„๋งˆ๋‹ค ๊ฐ์‹œํ•˜์ง€ ์•Š๊ณ  ๋ชฉํ‘œ๋งŒ ์ •์˜ํ•˜๋ฉด, ์ž‘์—…์ด ๋๋‚  ๋•Œ๊นŒ์ง€ ๋ฐ˜๋ณต ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ /plan ๋ชจ๋“œ์™€ ํ•จ๊ป˜ ๋ณต์žกํ•œ ๋ฆฌํŒฉํ„ฐ๋ง์— ์“ฐ๊ธฐ ์ข‹๋‹ค๊ณ  ์„ค๋ช…ํ•œ๋‹ค. ๋ฐฑ๊ทธ๋ผ์šด๋“œ์—์„œ ์˜ค๋ž˜ ์ผํ•˜๋Š” ์ฃผ๋‹ˆ์–ด ๊ฐœ๋ฐœ์ž ๊ฐ™์€ ํ™œ์šฉ ์‚ฌ๋ก€๋‹ค.

                            x.com/genaiwithrahul/status/20

                              #refactoring boosted

                              [?]Leanpub ยป 🌐
                              @leanpub@mastodon.social

                              A Short Guide to Naming: Understand how and why to better name modules, classes, functions, and variables. by Tim Ottinger is the featured book ๐Ÿ“– on Leanpub!

                              if you've read my chapter on naming in a famous software book (first or second edition) you may want to go a little deeper. Same author, same topic, all-new content!

                              Link: leanpub.com/naming_shortguide

                                #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 $5.00! leanpub.com/naming_shortguide

                                  #refactoring boosted

                                  [?]Nebraska.Code ยป 🌐
                                  @NebraskaCode@mastodon.social

                                  #refactoring boosted

                                  [?]N-gated Hacker News ยป 🤖 🌐
                                  @ngate@mastodon.social

                                  ๐Ÿคฆโ€โ™‚๏ธ Oh, joy! Another thrilling 12-minute treatise on code complexity that rivals a calculus textbook in zest. Apparently, if you throw enough fancy terms like Cyclomatic and Halstead at your spaghetti, it suddenly becomes gourmet ๐Ÿค”๐Ÿ‘Œ. Who knew held the key to nightmares? ๐Ÿ๐Ÿ”
                                  philodev.one/posts/2026-04-cod

                                    Back to top - More...