(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43378165

一篇 Hacker News 的帖子链接到一个博客 a-i-nstein.neocities.org,标题为“Idiomatic Rust”。作者 astennumero 记录了他们的 Rust 学习历程,并分享了他们发现的惯用 Rust 模式。虽然作者欢迎反馈和对未来内容的建议,但最初的回应褒贬不一。用户批评了其在移动设备上的排版,缺乏目录以方便导航,以及内容有限(只有一部分可用)。一些人认为这项工作质量不高,并质疑其“惯用”的说法,认为代码没有使用内置的格式化工具。一位用户质疑作者关于 Rust 特性独一无二的断言。总的来说,最初的反响表明,在获得更广泛的认可之前,需要改进格式、导航和内容。

相关文章
  • (评论) 2023-12-13
  • (评论) 2025-03-18
  • (评论) 2024-05-18
  • 惯用 Rust 2025-03-20
  • (评论) 2024-09-16

  • 原文
    Hacker News new | past | comments | ask | show | jobs | submit login
    Idiomatic Rust (a-i-nstein.neocities.org)
    13 points by astennumero 1 hour ago | hide | past | favorite | 11 comments










    Hey I enjoyed reading part 1. Would you add a media query though to the left and right margins? It’s impossible to read vertically on mobile.


    only one part. applies to zero of the rust code i write. formats horrendously on mobile.

    you gotta work on this more before putting it on hacker news



    Personally, I'd prefer to see a table of content and jump through it than being taken through it like a little story.

    Is there anything more than part 1?



    very low effort, I expected more high quality content from HN front page


    > Idiomatic Rust

    Not very idiomatic to not use the builtin code formatter...



    Page is mostly margin on safari mobile fyi


    Almost entirely margin on Firefox Mobile as well.


    Is x = 57u8 actually idiomatic when compared to x: u8 = 57? I don't remember any Rust resource using that.


    Hello HN,

    I've recently started learning Rust, and I'm finding it incredibly interesting! However, I'm also encountering a wealth of new syntax, built-in functions, and concepts that are unique to Rust. To solidify my understanding and create a useful resource for myself (and hopefully others), I've been diligently documenting these discoveries.

    I've decided to share these insights by starting a blog, where I'll delve into the idiomatic Rust behaviors I'm learning. I've already compiled a substantial collection of examples and plan to discuss them in detail. My goal is to maintain a regular posting schedule, reflecting my ongoing learning journey.

    I'd love to hear your thoughts on this project. Additionally, I'm eager to learn about your favorite idiomatic Rust patterns. If you have any specific behaviors or concepts you'd like to see covered in my blog, please share them! Thanks in advance for your feedback and suggestions.



    If you think any of the features you listed are unique to Rust, you need to learn more languages.


    Right now there is only Part 1, right? If not, this will need fixing. I tried clicking on "Show Me!" just in case it loads more, but it did not.

    As someone else said, I would like to see a TOC instead, personally.







    Join us for AI Startup School this June 16-17 in San Francisco!


    Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



    Search:
    联系我们 contact @ memedata.com