Content pfp
Content
@
0 reply
0 recast
2 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
What's your process for performing changes across multiple files in the codebase? Do you use Find+Replace across directories? Do you use "rename symbol" on IDEs? Do you build and see what breaks repeating until the build works again? Something else?
9 replies
2 recasts
20 reactions

Fleventy Five pfp
Fleventy Five
@fleventy
Rename symbol on jetbrains ides. So easy to use. I want refactoring like renaming to be frictionless. Maybe there's a vim plugin that rivals it, haven't heard of it yet.
0 reply
0 recast
1 reaction

downshift pfp
downshift
@downshift.eth
i really like `grep -Rn path/` to find all instances of a symbol, but i know this is pretty old school 😅 then use `git diff` to carefully review the patch before commit
0 reply
0 recast
1 reaction

aerique pfp
aerique
@aerique.eth
In a terminal I do a (rip)grep across all source files for the thing I want to change and refer to that while editing. Then build and hopefully no breakage. If there's a lot of changes I make sure my tests are in order first.
0 reply
0 recast
1 reaction

links 🏴 pfp
links 🏴
@links
Find+replacer here
0 reply
0 recast
1 reaction

franco pfp
franco
@francos.eth
Depends on the language: - expressive type system (haskell/rust): compiler will guide me. Fearless refactoring. Similar to your third option - otherwise I’ll find+replace file by file making sure I see what breaks each time
0 reply
0 recast
1 reaction

Timi pfp
Timi
@timigod.eth
I use JetBrains IDEs, it has a refactoring feature that lets you change everything across the entire codebase. See for WebStorm (JS et al) & GoLand (Go). https://www.jetbrains.com/help/webstorm/refactoring-source-code.html https://www.jetbrains.com/help/go/refactoring-source-code.html
0 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
This little puppy https://youtube.com/shorts/kK1L1o13xGE?si=mLH3lzJb1e_X3WWh
0 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
I use typescript for everything so, rename symbol then find n replace then fix the red squigs
0 reply
0 recast
0 reaction

Breck Yunits pfp
Breck Yunits
@breck
I use Find+Replace. Only possible though because the language is Scroll (scroll.pub), which has a few design decisions that let you make semantically safe edits using just find+replace.
0 reply
0 recast
0 reaction

laoshizi pfp
laoshizi
@laoshizi
Hi:)
0 reply
0 recast
0 reaction

Lewyinase 👾⚡ pfp
Lewyinase 👾⚡
@lewyinase
+100 🔥 FIRE has been tipped to you. Confirm by checking your balance.
0 reply
0 recast
0 reaction

Abolfazl🍖 pfp
Abolfazl🍖
@abolfazl57866
+100 🔥 FIRE successfully transferred. Review your balance.
0 reply
0 recast
0 reaction

Athena Everest pfp
Athena Everest
@athenaxes
Fantastic! u agree?
0 reply
0 recast
0 reaction

Isadora Moonlight pfp
Isadora Moonlight
@isadorax
Not sure, what u think?
0 reply
0 recast
0 reaction

Cassius Shadow pfp
Cassius Shadow
@cassiusasa
Not even close, right?
0 reply
0 recast
0 reaction

Thalia Moonlight pfp
Thalia Moonlight
@thaliasa
Spot on! ur take?
0 reply
0 recast
0 reaction

CryptoMaven pfp
CryptoMaven
@927
楼主真是个热心人,感谢分享!
0 reply
0 recast
0 reaction

sorrykirill pfp
sorrykirill
@oprah333
Who's ready? 🔫 A quick pew pew for anyone who likes, RC and comments on this cast! Let's go 🔫
0 reply
0 recast
0 reaction

BlockchainAdept pfp
BlockchainAdept
@0586
继续努力,支持!
0 reply
0 recast
0 reaction