Explore >> Select a destination


You are here

rust-lang.github.io
| | www.ncameron.org
3.4 parsecs away

Travel
| | One of the more subtle aspects of Rust is how traits can be used as types. In this blog post I will attempt a bit of a deep dive into how to use traits as types and how to choose between the different forms. Preliminary: traits are not typesA type
| | nick.groenen.me
3.5 parsecs away

Travel
| | After working through "the book" on the Rust programming language and getting started with the first non-trivial, real-world application I found myself faced with a question I didn't yet feel well-equipped to handle: "How should you structure error handling in a mature rust application?"
| | jmmv.dev
2.5 parsecs away

Travel
| | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
| | danielpecos.com
29.7 parsecs away

Travel
| Purpose of this post is to providea glimpse of the new features included in Java 8 that shiftthis language towards a more Functional Programming paradigm. But before, let's define what we understand for Functional Programming (FP). Functional programming key characteristics include: Higher Order Functions Pure Functions and Immutability Tail Call Recursion Higher Order Functions for a FP language means that functions are considered first class citizens, allowing the programmer to use them as any other value the language defines, for example, a Function value: