[-] Deely@programming.dev 1 points 1 year ago* (last edited 1 year ago)

Thanks, you comment definitely makes me want to try Rust.

Could you tell me, can I use Rust as general purpose application language? Something like: create small executable app (win,unix,mac) that read some files, and do something with it, create GUI app that connects to DB and do something with it, etc?

[-] Deely@programming.dev 4 points 1 year ago

Rust has gained immense popularity for its ability to help developers write robust and efficient code without sacrificing ease of use.

Rust's unique features and design principles grant it several advantages over other programming languages

I don't want praise and ads, I want honest and clear points: what good and what not so good.

[-] Deely@programming.dev 2 points 1 year ago

Machine codes, yes.

[-] Deely@programming.dev 11 points 1 year ago

Erm. Duplication of code is ok. Removing absolutely every duplicate function is just premature optimization imho.

If you have two different customers with slightly different workflow then go ahead and create two mostly the same functions. When you will have 4 different customers with slightly different workflow, then its a time for refactoring, maybe extract basic same functionality into separate function/object, maybe introduce dynamic workflow using finite automata, maybe extract these functionality to separate modules.. but never do it prematurily.

Imho, sometimes ,removing of duplication very much increases complexity and code became hard to understand and hard to modify.

[-] Deely@programming.dev 4 points 1 year ago

Im not even 100% sure that API is really bad? Some hairness could be easily explained by performance reasons. You don't want logging to take a massive amount of system resources.

[-] Deely@programming.dev 15 points 1 year ago

Do we have a term for combination of enshittyfication and LLM?

[-] Deely@programming.dev 2 points 1 year ago

Ah, thanks for explanation, if you implemented DRM/security then it all make sense.

[-] Deely@programming.dev 5 points 1 year ago

Hm, I still not sure about this article lesson.

So, main issue is that users of old version can use new feature, but they should not? On a desktop app? But why they sould not be able to do it in the first place?

I mean idea is good, but situation described in article looks like completely fictitious or incomplete..

[-] Deely@programming.dev 7 points 1 year ago

If SO supposed to be wiki, then why there no clear way to update the answer with new information? Why only the person that asked the question can mark answer as correct? Clearly some person with more expirience should have possibility to mark answer as correct.

[-] Deely@programming.dev 18 points 1 year ago

Thats actyally very good point. Our phones x100 or x10K more powerful and complex than computers from 90s, but always works and very-very rarely need reboot.

[-] Deely@programming.dev 1 points 1 year ago

Like just now? Why both?

[-] Deely@programming.dev 1 points 1 year ago

It make sense in any project that created by more than one person I suppose.

view more: next ›

Deely

joined 1 year ago