TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Code Blocks, Procs, Lambdas, and Closures in Ruby

6 点作者 mallyvai将近 7 年前

1 comment

mallyvai将近 7 年前
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.