TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scientist: A Ruby library for carefully refactoring critical paths

178 pointsby kburmanover 5 years ago

6 comments

jamesfzhangover 5 years ago
I've use Scientist for every major refactor I've done--IMO it's one of the best examples of a library that does one thing extremely well and has a clean interface.
Manfredover 5 years ago
Feeding production data into two different paths to compare them is obviously valuable. Does anyone have any good reasons why this has to happen in online code and can&#x27;t happen against database replicas in offline mode?<p>I always feel that it would be great to be able to do this with code that has side-effects (eg. anything that changes the database) but I&#x27;ve never seen a general purpose solution for this. The README mentions using a write replica, but how do you deal with data drifting in case of bad writes?
评论 #21499220 未加载
评论 #21498130 未加载
评论 #21497997 未加载
评论 #21499969 未加载
aflagover 5 years ago
How to handle the case when you want to replace a function that makes changes to a database? Is this library aimed only towards functions which don&#x27;t make changes to the system&#x27;s state?
评论 #21500469 未加载
tobyhinloopenover 5 years ago
Alternative title: “Scientist: A Ruby library for changing production code while still not having to write tests”
评论 #21498622 未加载
评论 #21500981 未加载
评论 #21500444 未加载
评论 #21499998 未加载
ydnaclementineover 5 years ago
Using this at work last week to refactor a database call to a new service call
sentrysapperover 5 years ago
is there a library like this for PHP?
评论 #21500550 未加载