<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Another rubocop&#x2F;standardrb gripe:]]></title><description><![CDATA[<p>Another rubocop/standardrb gripe:</p><p>    Style/EmptyLiteral: Use hash literal {} instead of Hash.new</p><p>Nah, I have my own heuristics for when to use which one. If it's inside a block with braces, I assert that:</p><p> # the "approved" butthole syntax<br />let(:params) { {} }</p><p>looks worse than</p><p># ain't nothing wrong with this<br />let(:params) { Hash.new }</p><p><a href="https://ruby.social/tags/rubocop" rel="tag">#<span>rubocop</span></a> <a href="https://ruby.social/tags/standardrb" rel="tag">#<span>standardrb</span></a> <a href="https://ruby.social/tags/ruby" rel="tag">#<span>ruby</span></a></p>]]></description><link>https://board.circlewithadot.net/topic/80513f0f-9051-43b9-b52d-e587f5519aa2/another-rubocop-standardrb-gripe</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 08:04:41 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/80513f0f-9051-43b9-b52d-e587f5519aa2.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Apr 2026 13:11:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 16:30:01 GMT]]></title><description><![CDATA[<p><span><a href="/user/soulcutter%40ruby.social" rel="nofollow noopener">@<span>soulcutter</span></a></span> I don’t think it would. Most JITs do not apply much optimization just translate to native code. Parser applies some optimizations when generating bytecode though. There are some specialized ops in bytecode, too.</p>]]></description><link>https://board.circlewithadot.net/post/https://status.pointless.one/users/pointlessone/statuses/116449306295918299</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://status.pointless.one/users/pointlessone/statuses/116449306295918299</guid><dc:creator><![CDATA[pointlessone@status.pointless.one]]></dc:creator><pubDate>Wed, 22 Apr 2026 16:30:01 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 15:39:55 GMT]]></title><description><![CDATA[<p><span><a href="/user/pointlessone%40status.pointless.one">@<span>pointlessone</span></a></span> I love this, haha. Do you think it would JIT down to the same, though?</p><p>I still prefer writing expressively, rather enforcing the best micro optimization when it’s less-readable.</p>]]></description><link>https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116449109315831426</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116449109315831426</guid><dc:creator><![CDATA[soulcutter@ruby.social]]></dc:creator><pubDate>Wed, 22 Apr 2026 15:39:55 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 15:36:37 GMT]]></title><description><![CDATA[<p><span><a href="/user/soulcutter%40ruby.social">@<span>soulcutter</span></a></span> <br />re: butthole syntax <br />hmm OK, now I can't unsee it</p><p>{ {} }</p><p>How about use `do` blocks?</p><p>```<br />let(:params) do<br />  { }<br />end<br />```</p><p>For me it was never about performance, but making clear what's inside. I would never reject (or let rubocop) because of that.</p>]]></description><link>https://board.circlewithadot.net/post/https://ruby.social/users/esparta/statuses/116449096341467810</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://ruby.social/users/esparta/statuses/116449096341467810</guid><dc:creator><![CDATA[esparta@ruby.social]]></dc:creator><pubDate>Wed, 22 Apr 2026 15:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 15:13:17 GMT]]></title><description><![CDATA[<p><span><a href="/user/soulcutter%40ruby.social">@<span>soulcutter</span></a></span> it didn’t bother me before, but now I will never unsee this haha.</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.world/users/gregw/statuses/116449004583515007</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.world/users/gregw/statuses/116449004583515007</guid><dc:creator><![CDATA[gregw@mastodon.world]]></dc:creator><pubDate>Wed, 22 Apr 2026 15:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 14:58:08 GMT]]></title><description><![CDATA[<p><span><a href="/user/soulcutter%40ruby.social" rel="nofollow noopener">@<span>soulcutter</span></a></span> OK, your mood is valid.</p><p>but also… <img src="https://board.circlewithadot.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f648.png?v=28325c671da" class="not-responsive emoji emoji-android emoji--see_no_evil" style="height:23px;width:auto;vertical-align:middle" title="🙈" alt="🙈" /></p>

<div class="row mt-3"><div class="col-12 mt-3"><img class="img-thumbnail" src="https://status-assets.pointless.one/media_attachments/files/116/448/944/560/661/139/original/bfed0787df52a640.png" alt="Link Preview Image" /><img class="img-thumbnail" src="https://status-assets.pointless.one/media_attachments/files/116/448/944/793/565/839/original/6c448c17ac47a6c6.png" alt="Link Preview Image" /></div></div>]]></description><link>https://board.circlewithadot.net/post/https://status.pointless.one/users/pointlessone/statuses/116448945004518211</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://status.pointless.one/users/pointlessone/statuses/116448945004518211</guid><dc:creator><![CDATA[pointlessone@status.pointless.one]]></dc:creator><pubDate>Wed, 22 Apr 2026 14:58:08 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 14:06:03 GMT]]></title><description><![CDATA[<p><span><a href="/user/soulcutter%40ruby.social">@<span>soulcutter</span></a></span> butthole syntax needs cat ears tbqh</p>]]></description><link>https://board.circlewithadot.net/post/https://mastodon.social/users/niclake/statuses/116448740208824019</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mastodon.social/users/niclake/statuses/116448740208824019</guid><dc:creator><![CDATA[niclake@mastodon.social]]></dc:creator><pubDate>Wed, 22 Apr 2026 14:06:03 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 13:14:20 GMT]]></title><description><![CDATA[<p>I'm in a mood this morning.</p>]]></description><link>https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116448536830960866</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116448536830960866</guid><dc:creator><![CDATA[soulcutter@ruby.social]]></dc:creator><pubDate>Wed, 22 Apr 2026 13:14:20 GMT</pubDate></item><item><title><![CDATA[Reply to Another rubocop&#x2F;standardrb gripe: on Wed, 22 Apr 2026 13:13:02 GMT]]></title><description><![CDATA[<p>I wouldn't reject somebody else's PR that uses the butthole, but if I write Hash.new who the hell has a problem with that? Assholes, and rubocop.</p>]]></description><link>https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116448531722802812</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://ruby.social/users/soulcutter/statuses/116448531722802812</guid><dc:creator><![CDATA[soulcutter@ruby.social]]></dc:creator><pubDate>Wed, 22 Apr 2026 13:13:02 GMT</pubDate></item></channel></rss>