Rust and Default Parameters

Source: https://www.thecodedmessage.com/posts/default-params/ Rust doesn’t support default parameters in function signatures. And unlike in many languages, there’s no way to simulate them with function overloading. This is frustrating for many new Rustaceans coming from other programming languages, so I want to explain why this is actually a good thing, and how to use the Default trait and struct update syntax to achieve similar results. Default parameters (and function overloading) are not part of object-oriented programming, but they are a common feature of a lot of the programming languages new Rustaceans are coming from.
Read more →

The Garden and the Stream: A Technopastoral

Trong thời đại kỹ thuật số ngày nay, chúng ta thường xuyên bị quá tải thông tin từ các nguồn khác nhau. Internet đã giúp cho việc truy cập tin tức, giải trí và kiến thức dễ dàng hơn bao giờ hết. Tuy nhiên, đi cùng với khả năng này cũng là những thách thức của việc quản lý lượng thông tin khổng lồ có sẵn. Trong bài viết của mình ("The Garden and the Stream: A Technopastoral"), Paul Ford đã đưa ra hai phương pháp khác nhau để trải nghiệm những nội dung trên Internet: The Garden và The Stream.
Read more →