There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Hack3900 , in Brace Style

I kinda like it…

olafurp ,

Who’s going to write the extension so that they are all hidden and automatically inserted?

VonReposti , (edited )

I think you’ll like Ruby. It has mostly done away with braces and code blocks end with end, e.g.


<span style="color:#323232;">def create
</span><span style="color:#323232;">  unless admin redirect_to new_session_path and return
</span><span style="color:#323232;">  
</span><span style="color:#323232;">  @product = Product.new product_params
</span><span style="color:#323232;">
</span><span style="color:#323232;">  if @product.save
</span><span style="color:#323232;">    flash[:success] = "New product has been created!"
</span><span style="color:#323232;">    redirect_to edit_product_path(@product) and return
</span><span style="color:#323232;">  else
</span><span style="color:#323232;">    flash[:error] = "Something went wrong!
</span><span style="color:#323232;">    render :new
</span><span style="color:#323232;">  end
</span><span style="color:#323232;">end
</span>

This is working code that I simplified a bit from an old project of mine.

Reddfugee42 , in Brace Style
Mesa , in When your shower uses GitHub more than you
@Mesa@programming.dev avatar

Imagine going to take a shower to relax and instead seeing this.

bruhduh , in When your shower uses GitHub more than you
@bruhduh@lemmy.world avatar

Cool idea tho, it’ll help redditors to maintain hygiene

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines