phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

793
active users

#unused

0 posts0 participants0 posts today
Gea-Suan Lin<p>LINE 推出的 ts-remove-unused,移除掉沒有用到的程式碼</p><p>出國前看到的東西,LINE 在 GitHub 上發表了整理 TypeScript 程式碼的套件:「Show HN: ts-remove-unused – Remove unused code from</p><p><a href="https://blog.gslin.org/archives/2024/09/25/11989/line-%e6%8e%a8%e5%87%ba%e7%9a%84-ts-remove-unused%ef%bc%8c%e7%a7%bb%e9%99%a4%e6%8e%89%e6%b2%92%e6%9c%89%e7%94%a8%e5%88%b0%e7%9a%84%e7%a8%8b%e5%bc%8f%e7%a2%bc/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.gslin.org/archives/2024/0</span><span class="invisible">9/25/11989/line-%e6%8e%a8%e5%87%ba%e7%9a%84-ts-remove-unused%ef%bc%8c%e7%a7%bb%e9%99%a4%e6%8e%89%e6%b2%92%e6%9c%89%e7%94%a8%e5%88%b0%e7%9a%84%e7%a8%8b%e5%bc%8f%e7%a2%bc/</span></a></p><p><a href="https://abpe.org/tags/Computer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Computer</span></a> <a href="https://abpe.org/tags/Murmuring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Murmuring</span></a> <a href="https://abpe.org/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://abpe.org/tags/Software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Software</span></a> <a href="https://abpe.org/tags/clean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clean</span></a> <a href="https://abpe.org/tags/code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>code</span></a> <a href="https://abpe.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://abpe.org/tags/remove" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>remove</span></a> <a href="https://abpe.org/tags/source" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>source</span></a> <a href="https://abpe.org/tags/ts" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ts</span></a> <a href="https://abpe.org/tags/typescript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>typescript</span></a> <a href="https://abpe.org/tags/unused" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unused</span></a></p>
DrD<p>Why can't all our supermarkets give their unsold food to those in the community who need it - the homeless, low income families, single parent families...<br><a href="https://mastodon.nz/tags/food" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>food</span></a> <a href="https://mastodon.nz/tags/unused" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unused</span></a></p>
markus staab<p>Taught <a href="https://phpc.social/tags/PHPStan" class="mention hashtag" rel="tag">#<span>PHPStan</span></a> <a href="https://phpc.social/tags/unused" class="mention hashtag" rel="tag">#<span>unused</span></a> to report public class-constants and public properties which are only used in tests. </p><p>getting rid of dead code helps you concentrate your efforts on things really used.</p><p><a href="https://github.com/TomasVotruba/unused-public" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/TomasVotruba/unused</span><span class="invisible">-public</span></a></p>
markus staab<p>anyone interessted in a 86% <a href="https://phpc.social/tags/speed" class="mention hashtag" rel="tag">#<span>speed</span></a> improvement when analyzing your <a href="https://phpc.social/tags/php" class="mention hashtag" rel="tag">#<span>php</span></a> codebase for <a href="https://phpc.social/tags/unused" class="mention hashtag" rel="tag">#<span>unused</span></a> symbols? </p><p><a href="https://github.com/TomasVotruba/unused-public/pull/50" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/TomasVotruba/unused</span><span class="invisible">-public/pull/50</span></a></p>