#refactoring

[ follow ]
Python Test
2 days ago
Python

Python Test | 218: Balancing test coverage with test costs - Nicole Tietz-Sokolskaya

Balancing schedule and testing is crucial in decision-making.
Deciding what and how much to test impacts coverage and effectiveness.
Refactoring can affect code coverage; focusing on key features is essential for effective testing. [ more ]
Wingware
1 month ago
Python

Wing Python IDE Version 10.0.3 - March 15, 2024 - Wing Python IDE

Wing 10.0.3 adds more control over AI request context and enhances keyboard navigability on Windows.
Wing Pro 10 introduces powerful AI assisted development features like code suggestion, refactoring, description-driven development, and AI chat. [ more ]
PyBites
10 months ago
Python

The Importance Of Refactoring Regularly [podcast] - PyBites

In this episode we talk with Chris May, Python developer and coach, about his background and passion for refactoring.Watch here:
Or listen here:
This turned into a beautiful love letter ???? to refactoring and we think you should take notice, because adopting the mindset he teaches will improve your code.
Pythonmorsels
1 year ago
Python

Using "any" and "all" in Python

Trey Hunner Python 3.7-3.11*

How can you check whether all items match a condition in Python?And how can you check whether any item matches a condition?You might think to do something like this:
Or something like this:
But there are two built-in Python functions that can help make those code blocks more descriptive and more readable.
InfoQ
3 months ago
Productivity

How to Apply a Product Mindset to Your Platform Team Tomorrow

Applying a product mindset to platform products involves focusing on what can be done to accelerate all other product teams.
Technical debt and the need for refactoring often arise as platform products scale up and new requirements emerge. [ more ]
Medium
11 months ago
Vue

Revamp with Refactoring: Three Techniques for Seamlessly Integrating New Features

It is a typical chore to integrate new features while maintaining backward compatibility.It is necessary for incremental releases, which are safer and prevent compatibility issues, but it also adds complexity that challenges even experienced developers.In this post, I aim to give tips that make the process smoother from my experience.
Medium
1 year ago
Vue

Refactoring a Node.js Express Project into multiple Docker Services using a Monorepo and Lerna

If you're working on a Node.jsExpress project that needs to be split into multiple independent services, you may be wondering how to manage shared dependencies and common code.One solution is to use a monorepo and Lerna to manage your project, which can help to simplify dependency management, testing, and deployment.
Treehouse Blog
1 year ago
Python

Python Freelancing: The Good, the Bad, and the Ugly [Article] | Treehouse Blog

It's safe to say that us developers enjoy programming day in and day out.We also really like making money and being able to feed ourselves and our families.But, we may not want to necessarily work in an office setting or for a single product or company.That's why many of us choose Python freelancing.
Alvinalexander
1 year ago
Scala

A Java "extract method" refactoring example

Summary: A Java "extract method" refactoring example is demonstrated.If you don't own a copy of Martin Fowler's Refactoring book, I highly recommend it.The basic idea of refactoring source code is that the code "smells" in one way or another, and there are a variety of ways to improve smelly code.
InfoQ
1 year ago
JavaScript

Blazing Fast, Minimal Change - Speed Up Your Code by Refactoring to Rust

Transcript
Mara: My name is Lily Mara.I'm an engineering manager at OneSignal in San Mateo, California.I've been using Rust professionally on side of desk projects since about 2017.In 2019, I started at OneSignal, where it's used as a primary language.I spoke at RustConf 2021, about the importance of not over-optimizing our Rust programs.
npm
5 months ago
JavaScript

sabik

Visualization tool Sabik helps identify code complexity and smells.
Sabik supports Node.js >= 14 and offers various output formats and options for analysis. [ more ]
The Three of Wands
1 year ago
Python

Python is two languages now, and that's actually great

Everyone doing Python nowadays is aware Python supports optional type hints, and has for some time now.This has created a small schism in the community, with some people being completely uninterested in type hinting and a little defensive about the language partially going into a new direction, some people being very exciting about the potential of our evolving type tooling, and the vast majority of folks in the middle, not entirely sure where and how to apply type hinting best.
Medium
2 years ago
Vue

Let Objects Communicate With React

have multiple representations of an object displayed in an app update the screen representation of an object when it changes its state and let the message flow between objects follow user interaction with the app
InfoQ
1 year ago
Software development

Craftleadership: Craft Your Leadership as Developers Craft Code

Key Takeaways


     Many good software development practices can be transposed to management, such as TDD and code review, and, reciprocaly, software antipatterns such as confusing output and outcomes or big bang legacy migration.This comes from common attitudes that both developers and managers have when searching for quality: respect, transmission, frugality, and looking for resilience.
Medium
1 year ago
Software development

10 Best Coding and Software Development Books for Programmers of All Level

Hello guys, Coding is one of the most sought after and essential skills for programmers, and if you want to survive as a programmer, you must improve your coding ability.
PyBites
1 year ago
Python

Help, I Need To Refactor A Mega Class! Here Are 5 Tips ... - PyBites

Somebody asked the other day for tips on how to refactor a mega-class?It was actually one of the first tasks on the new job, ouch!
A single class, several thousands lines of code, no tests available
Anarc
1 year ago
Python

Using LSP in Emacs and Debian

The Language Server Protocol (LSP) is a neat mechanism that provides a common interface to what used to be language-specific lookup mechanisms (like, say, running a Python interpreter in the background to find function definitions).
Theregister
1 year ago
DevOps

AWS launches Mainframe Modernization service

AWS is trying to help organizations migrate their mainframe-based workloads to the cloud and potentially transform them into modern cloud-native services.
Medium
1 month ago
Data science

Breaking down the (dependency) monolith-Part 1

Refactoring breaks down monolithic code dependencies for increased modularity.
Splitting libraries into 'slices' enables granular consumption, reduces risks, and minimizes dependencies. [ more ]
[ Load more ]