Well, yeah, sort of... Though Liskov's Substitution Principle I would argue is purely about objects. But I feel like the principles are rather common and just need to be reformulated in a more general way. It's time we stopped considering OO as the only model that exists 😁.
https://t.co/yuP2yyF7TX?amp=1
https://t.co/yuP2yyF7TX?amp=1
DEV Community
Do the SOLID principles apply to Functional Programming?
If you are interested in reading this article in Spanish 🇪🇸, check out my blog: The Developer's Dunge...
It's good that remote opportunities now are somewhat fixing the issue. I guess it's one of the positive outcomes of the whole COVID situation.
https://twitter.com/graninas/status/1382906570913284098?s=19
https://twitter.com/graninas/status/1382906570913284098?s=19
Twitter
Alexander Granin
Russian software businesses: "$200K annually? No way. $30K at most. There is literally no any company in the world which would pay more. That's just a myth."twitter.com/_m_b_j_/status…
I was reading through some thoughts of the Rust newcomers. And in general I think there is a bit of confusion.
Rust is not only about memory safety with lifetimes.
As it is mentioned at the https://www.rust-lang.org/ Rust main goals are reliability and efficiency.
Rust achieves these goals through many different language features and design patterns, and lifetimes are just a part of it. In fact they support the more general concept: ownership model.
Ownership model is undeniably a great helper in terms of reliability. Though lifetimes are just an implementation aspect of it, not the main focus.
In conclusion I would say when trying Rust it's better to go one by one through the book chapters, it tries to show all of the aspects of the language tying them to the corresponding language goals. Rust introduces many new concepts and though lifetimes are maybe the most well known of them, it is just one of the many.
Rust is not only about memory safety with lifetimes.
As it is mentioned at the https://www.rust-lang.org/ Rust main goals are reliability and efficiency.
Rust achieves these goals through many different language features and design patterns, and lifetimes are just a part of it. In fact they support the more general concept: ownership model.
Ownership model is undeniably a great helper in terms of reliability. Though lifetimes are just an implementation aspect of it, not the main focus.
In conclusion I would say when trying Rust it's better to go one by one through the book chapters, it tries to show all of the aspects of the language tying them to the corresponding language goals. Rust introduces many new concepts and though lifetimes are maybe the most well known of them, it is just one of the many.
rust-lang.org
Rust Programming Language
A language empowering everyone to build reliable and efficient software.
Ruby Ruby Ruby... (Song by Kaiser Chiefs)
*Music fades*
https://twitter.com/editingemily/status/1383509743977697288?s=09
*Music fades*
https://twitter.com/editingemily/status/1383509743977697288?s=09
Twitter
emily freeman
I know a ton of Ruby devs who named their kid Ruby but not a single JavaScript engineer with a kid named DOM.
One of the more elegant explanations of the financial side of bitcoin and many other cryptocurrencies.
Paul Graham to his kids:
https://twitter.com/paulg/status/1384040569710682113?s=09
Paul Graham to his kids:
https://twitter.com/paulg/status/1384040569710682113?s=09
Twitter
Paul Graham
How I explained Bitcoin to my kids. A currency needs two things: to be easily transportable, and to be rare. Bitcoin is easily transportable because you can send it from computer to computer, and rare because to make more you have to solve increasingly hard…
Forwarded from @yegor256 news (yegor256)
Media is too big
VIEW IN TELEGRAM
M167: When you deal with a weak and incompetent manager, who is not capable of finding a way to measure people's results objectively, you have to behave like an imposter. If you don't, somebody else will and the manager will think that this guy is the best guy in the team, no matter what are the actual achievements. Watch it.
There is a huge debate whether Rust needs optional arguments that can be omitted instead of using
Overusing macros is not good for many reasons and I don't think this crate should be used extensively. But for the sake of proving the fact, this can be easily supported by Rust compiler in the same generative way.
https://www.reddit.com/r/rust/comments/mu4x5k/optargs_011_functions_and_structs_with_optional
None. And as always here is a macro to do this😁.Overusing macros is not good for many reasons and I don't think this crate should be used extensively. But for the sake of proving the fact, this can be easily supported by Rust compiler in the same generative way.
https://www.reddit.com/r/rust/comments/mu4x5k/optargs_011_functions_and_structs_with_optional
reddit
OptArgs 0.1.1: functions and structs with optional arguments...
Hey r/rust, I've been working on adding optional arguments and parameters to functions and structs. I've finally released OptArgs, a crate for...
Hell yeah, who would use kubernetes when you know a DevOps guy Michael😁
https://twitter.com/tomaka17/status/1384815348063559680?s=19
https://twitter.com/tomaka17/status/1384815348063559680?s=19
Twitter
tomaka
Half of the point of using Kubernetes is that you get to have a canonical and centralized denoscription of how all your services are organized. But hey, why do this when you can ask Michael from devops team how he configured that specific server two years ago.
It really does feel like that. Actually it's quite difficult after that to get back to writing in other languages. You just expect a lot more from the compiler...
https://twitter.com/rust_foundation/status/1385310806498103297?s=19
https://twitter.com/rust_foundation/status/1385310806498103297?s=19
Twitter
Rust Foundation
"It really does feel like rustc is a big step toward the mythical Sufficiently Smart Compiler, letting you write nice code without worrying about a suite of low-level gotchas." Hear more from Reliability Project Director @cuviper => foundation.rust-lang.org/posts/2021…
Rust Language Cheatsheet. It seems like a good reference to check your knowledge of Rust topics. Also might serve as a basis for Rust tech interviews I guess.
https://cheats.rs/
https://cheats.rs/
cheats.rs
Rust Language Cheat Sheet
A single-page Rust resource for people who like high information density.
Not that I was planning to join the hype, but someone went and made an NFT of me😂. Actually quite good and the interesting fact is I was really doing Kendo for several years.
The NFT is a part of the pack that was made by some community members for some employees in our company. Never thought this good about the community 😅.
The NFT is a part of the pack that was made by some community members for some employees in our company. Never thought this good about the community 😅.
Wanted to publish this for a long time. It is an overview of different RwLock implementations for Async Rust. Actually the results were quite surprising for me. I assumed everywhere fair scheduling was used, but seems like it is not the case.
The overview is 1 year old, so some things might have changed. And I guess this needs more investigation. Though might serve as a reminder of how careful we should be with async for now, especially with locks.
https://www.reddit.com/r/rust/comments/f4zldz/i_audited_3_different_implementation_of_async/
The overview is 1 year old, so some things might have changed. And I guess this needs more investigation. Though might serve as a reminder of how careful we should be with async for now, especially with locks.
https://www.reddit.com/r/rust/comments/f4zldz/i_audited_3_different_implementation_of_async/
Reddit
From the rust community on Reddit: I audited 3 different implementation of async RwLock.
Explore this post and more from the rust community
Is Async mature enough in Rust?
Anonymous Poll
44%
Yes, can be used in production
19%
Only for personal projects
6%
Not mature enough to be used at all
31%
I am not using Rust :D
Facebook is joining Rust Foundation now!
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
Meta for Developers
Facebook Joins the Rust Foundation
Facebook For Developers