*emacsgolf* / hole 13
The Great Rename
PAR14
Code review says tmp is not a name. Rechristen every occurrence — query-replace was born for this.
M-x emacsgolf-play RET great-rename RET
tmp = fetch_rows()
for row in tmp:
validate(row)
emit(row)
return tmp
-UU-:**-- start.txtAll L1
results = fetch_rows()
for row in results:
validate(row)
emit(row)
return results
-UU-:%%-- target.txtAll L1
Leaderboard
| # | golfer | keys | vs par | when |
|---|---|---|---|---|
| 1 | ⛳ scratch | 14 | E | 2026-07-04 |
Recent attempts
-
scratch 14 keystrokes · E · 2026-07-04M-%tmpRETresultsRET!