sauropods.win is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for sauropod appreciators everywhere.

Administered by:

Server stats:

111
active users

#refactor

1 post1 participant0 posts today
fluffy 💜<p>Sockpuppet: Blog: Vinyl releases <a href="https://sockpuppet.band/blog/1031-Vinyl-releases" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sockpuppet.band/blog/1031-Viny</span><span class="invisible">l-releases</span></a> <a href="https://plush.city/tags/Distribution" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Distribution</span></a> <a href="https://plush.city/tags/Transitions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Transitions</span></a> <a href="https://plush.city/tags/Refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Refactor</span></a> <a href="https://plush.city/tags/Vinyl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vinyl</span></a> <a href="https://plush.city/tags/Blog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Blog</span></a></p>
stateful being<p>more ughhhh. been trying to <a href="https://mastodon.social/tags/refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>refactor</span></a> the code which renders all this stuff for *ages*</p><p>i want it as free-standing single-purpose functions, so i can test each one of them more easily</p><p>however, i keep running into my reluctance to write code of the sort:</p><p>```<br>fn foo &lt;'a, A, B, C, D&gt; (a: A, b: B, c: C, d: D) -&gt; impl Content + use&lt;'a, A, B, C, D&gt; where A: impl Content, B: impl (Fn()-&gt;A) + Send + Sync, C: impl Content, D: impl (Fn()-&gt;C)+Send+Sync { ...```</p>
Ted M. Young<p>TDD is a great _technique_ for guiding you and helping you discover unclear code or designs that could be improved, but you, the developer, have to not only pay attention, you also have to know how to <a href="https://sfba.social/tags/Refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Refactor</span></a> and know what better design is so you can refactor in that direction.</p>
stateful being<p>last 2-3 weeks, besides a bunch of mostly aimless traveling, were dedicated to this insane 70+-<a href="https://mastodon.social/tags/commit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commit</span></a> <a href="https://mastodon.social/tags/refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>refactor</span></a> on the <a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/tui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tui</span></a> <a href="https://mastodon.social/tags/daw" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>daw</span></a>, bouncing between 5 and 512 compile errors...</p><p>and i'm still not happy with the code quality... but let's say i've massaged the code around enough, and collected the not-yet-clarified bits in several places rather than all over the place...</p><p>my favorite language feature that neither <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rustlang</span></a> nor <a href="https://mastodon.social/tags/ecmascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ecmascript</span></a> has? <a href="https://mastodon.social/tags/mixins" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mixins</span></a>. there, i said it 😔</p>
stateful being<p>People have been cross at me for what's probably one of my most disruptive <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> habits, but the truth is - when velocity grinds to a halt and you find yourself inexplicably <a href="https://mastodon.social/tags/stuck" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>stuck</span></a>, like you just don't know what to do, just take a deep breath and... <a href="https://mastodon.social/tags/refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>refactor</span></a> the hell out of the whole damn thing, preferably in one sitting, like a complete and utter <a href="https://mastodon.social/tags/madman" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>madman</span></a>.</p><p>Meanwhile, looks like this project has crossed the 5000 <a href="https://mastodon.social/tags/LOC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LOC</span></a> barrier like wheeee...</p>
Jan :rust: :ferris:<p>Many people say that <a href="https://floss.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> is very hard to <a href="https://floss.social/tags/prototype" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>prototype</span></a> with or to <a href="https://floss.social/tags/refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>refactor</span></a>. This couldn't be further from the truth! It is the exact opposite!</p><p>Let me share with you one of the most profound experiences I had with <a href="https://floss.social/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> on a casual sunday - a thread 🧵 </p><p>I'm currently rewriting my <a href="https://floss.social/tags/transpiler" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>transpiler</span></a> from <a href="https://floss.social/tags/nom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nom</span></a> to <a href="https://floss.social/tags/chumsky" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>chumsky</span></a> and until now everything has turned out great so far, until I've hit the following road block:<br>Implementing parsers by using <a href="https://floss.social/tags/parser" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parser</span></a> functions that have indirect <a href="https://floss.social/tags/recursion" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>recursion</span></a>.</p><p>1/11</p>
ischris<p>in the middle of a big <a href="https://universeodon.com/tags/refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>refactor</span></a> and I mistyped a keyword argument named "ignore" as "ingore" and I feel that "in gore" is indeed an accurate description of this refactor. </p><p><a href="https://universeodon.com/tags/QT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>QT</span></a> <a href="https://universeodon.com/tags/widgets" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>widgets</span></a> <a href="https://universeodon.com/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a></p>
Jari Pennanen<p>Perfect commit.</p><p>20 changed files with 505 additions and 3,376 deletions</p><p>Spring cleaning! Old abstractions for sale!</p><p><a href="https://twit.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://twit.social/tags/Refactor" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Refactor</span></a></p>