The little coder that could
    Navigation bar avatar
    • State management evolution (part II): Using MVVM

      A tongue twister that will blow your mind

      Posted on January 23, 2025

      Post thumbnail
      Post thumbnail
      The MVVM (Model-View-ViewModel) design pattern can simplify code maintenance and reduce the coupling between components and the implementation of state management. [Read More]
      Tags:
      • react view-model state
    • Ramda cheat sheet - Curry and friends

      Spicy, aromatic and very reusable

      Posted on November 14, 2024

      Post thumbnail
      Post thumbnail
      The Ramda library is a cornucopia of utility functions. Curry is an extremely useful (and spicy) function that helps to fix arguments creating new functions quickly. [Read More]
      Tags:
      • ramda
      • curry
      • composition
      • functional-programming
    • State management evolution (part I): Reducers and View Models

      A subject-observer extravaganza

      Posted on November 3, 2024

      Post thumbnail
      Post thumbnail
      State management is a common part of creating React components. While the useState hook is straightforward it can become cumbersome as your application logic grows, and more states are needed. That is where a reducer can help. [Read More]
      Tags:
      • react
      • useState
      • useReducer
    • Using testing models to improve tests readability

      Refreshing the page object model

      Posted on October 8, 2024

      Post thumbnail
      Post thumbnail
      Testing web applications effectively can be challenging, especially as they grow in complexity. As the application evolves, changes to the UI, components, or structure can require significant updates to the test suite. This often leads to a maintenance burden, where tests become brittle and harder to manage. [Read More]
      Tags:
      • testing
      • acceptance
    • Example of modeling errors with Python

      Real-world made easy

      Posted on September 4, 2024

      Post thumbnail
      Post thumbnail
      Using brief examples may suffice to introduce a concept because the explanation is short and easy to follow. However, short examples might leave us wondering, “What if we had to use error modeling in a real-world problem?” [Read More]
      Tags:
      • errors
    • To model or not to model errors, that is the question!

      Handle errors without hurting your code

      Posted on August 12, 2024

      Post thumbnail
      Post thumbnail
      When coding, handling errors is an inevitable challenge. We’ve all faced the question: What if this bit of code fails? But beyond just anticipating potential failures, how do we effectively communicate to others who might use our code that certain errors are expected? Moreover, what kinds of errors are possible?... [Read More]
      Tags:
      • errors
    • Refactoring multiple updates with reduce

      Small functions to the rescue!

      Posted on April 2, 2024

      Post thumbnail
      Post thumbnail
      The refactoring story today is about a UI editor for a table of Students that lets a user add, rename, and remove columns. [Read More]
      Tags:
      • refactoring
    • Snapping Strategy

      Posted on April 13, 2010

      The application For the past eight months I’ve been working on a WPF  desktop application that has a tool to draw. Very similar to most drawing application, you select the Drawing tool in the ribbon/toolbox and then you are able to draw on the canvas until you close the shape... [Read More]
      Tags:
      • development
      • patterns
      • solid
    • Email me
    • Facebook
    • GitHub
    • Twitter
    • LinkedIn

    Amir Barylko  •  2025

    Powered by Beautiful Jekyll