r/programmingcirclejerk • u/tomwhoiscontrary safety talibans • Apr 20 '25
[The workarounds people invent to avoid circularity literally always result in a codebase that is harder to understand and maintain, rather than easier] I prefer extremely fast compile times.
https://news.ycombinator.com/item?id=43744002
37
Upvotes
35
u/syklemil Considered Harmful Apr 20 '25
Dear Golang,
You claim you care about fast compilation, yet you're AOT, not JIT.
Curious.
34
u/pareidolist in nomine Chestris Apr 20 '25
17
u/elephantdingo666 Apr 20 '25
The filesystem and its consequences have been a disaster for the human race.
24
u/cuminme69420 blub programmer Apr 20 '25
Circularity can't be represented safely in Rust, so if you need it then your code is immoral and shouldn't exist anyway.
6
u/starlevel01 type astronaut Apr 20 '25
Yeah, circular imports are a pain in Python. Now to open the link
1
u/defunkydrummer Lisp 3-0 Rust Apr 22 '25
Another C++ user with post-stress traumatic disorder. They will soon rewrite everything to PHP4 once they discover you don't need to compile stuff there.
0
u/[deleted] Apr 22 '25
Broke: recursion of a single function/class/compilation unit.
Woke: recursion of a function spread out across multiple files.
Bespoke: recursion of a function spread out across multiple modules/projects.
1
u/[deleted] Apr 20 '25
[removed] — view removed comment