- 3 Posts
- 5 Comments
Joined 3 years ago
Cake day: June 9th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Thanks for the feedback.
- I’ll definitely drop the
Cypherprefix, and think it’s a good idea to at least move the shorthand attribute macros to a crate feature. The readmes would use derive instead of the shorthand mostly. ty::new()just uses the types in the struct (plus &str for String and &[T] for Vec). The extra builder struct is to help with updates, where you may want to just change a couple of fields, or bind it to editable UI fields.
I didn’t realize how strong the rust presence is here. Experienced-devs on reddit is hard to go without :)
- I’ll definitely drop the
jpfreely@programming.devto
Asklemmy@lemmy.ml•What was "The Incident" at work that caused an exodus in the work force?
1·3 years agoI’m not. How bad was it?
That’s the one problem. An LLM enhanced terminal sounds great. Sharing every command with the cloud does not.
jpfreely@programming.devto
Programming@programming.dev•The Grand Unified Theory of Documentation (AKA: Your project needs all 4 types or you have bad documentation)
0·3 years agoI’ve had that article saved for years, it’s still the best way to break down documentation imo.
Another key point for code documentation is that the closer it is to the code it’s describing, the more likely it is to be read and maintained. The book “A philosophy of software design” has a section on it.

Right, I want the convenience of &[&str] , but if it requires creating a second collection then I think &[String] is better. Use cases that require &str can just map to as_str.