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.

Rust 1.58.0

101 pointsby 0xedbover 3 years ago

5 comments

c0baltover 3 years ago
Being able to use formatting patterns similar to python sounds really awesome. It makes formatting with long formatting strings really a lot more expressive and more readable.
评论 #29927628 未加载
edflsafoiewqover 3 years ago
&gt; Format strings can only capture plain identifiers, not arbitrary paths or expressions.<p>Why?
评论 #29925792 未加载
评论 #29926244 未加载
hajileover 3 years ago
This is a nice step.<p>Now they should allow expressions in addition to just names and apply it to all string literals.
评论 #29925609 未加载
pjmlpover 3 years ago
Nice work! Looks like I have some code updates to do.
Shadonototraover 3 years ago
index or format specs are ok, but capturing variables is a bad idea, visually bloats the string, it becomes unreadable
评论 #29930539 未加载