TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Code Blocks, Procs, Lambdas, and Closures in Ruby

6 pointsby mallyvaialmost 7 years ago

1 comment

mallyvaialmost 7 years ago
As a long-time Pythonista who&#x27;s been using Ruby for work for a year now, I&#x27;ve really grown to appreciate anonymous multiline blocks, and wish they were a Python feature.<p>I am not a fan of all the syntactic variants in Ruby, and think they add some unnecessary complexity but on balance I think this is something that Ruby does better.