[-] tatterdemalion@programming.dev 15 points 2 months ago

This is entering the rotation.

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

Probably won't solve all of your problems, but I like to at least change git's default pager to delta.

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

I just shed a tear the poor person whose job is to watch hours of Trump video and bin it into various categories.

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

Those are initialisms, not acronyms. mic drop

[-] tatterdemalion@programming.dev 14 points 1 year ago

Sharon... the porch won't slow down.

[-] tatterdemalion@programming.dev 14 points 2 years ago

ntopng has all of that. I'm currently hosting it on my home router.

[-] tatterdemalion@programming.dev 15 points 2 years ago

Cool so this article calls out various types of coupling and offers no strategies for managing it.

Waste of time.

[-] tatterdemalion@programming.dev 14 points 2 years ago

This makes me so nervous about how AI is going to influence children and adolescents of the coming generations. From iPad kids to AI teens. They'll be at a huge risk of dissociation from reality.

[-] tatterdemalion@programming.dev 15 points 2 years ago* (last edited 2 years ago)

My point wasn't so much that I think RED is shady but that exposing my IP seems like an unnecessary requirement to join. Why can I not have my membership tracked via an anonymous account? If they are concerned about account harvesting or something, then the interview already seems like a good enough measure, accompanied by seed ratio minimums.

[-] tatterdemalion@programming.dev 14 points 2 years ago

As a US citizen, I'm starting to feel like a German during WWII. What the hell am I supposed to do when there is no real opposition to Israel running for president? The two party system has completely fucked the world up.

While on its face this bill seems like a way to counter terrorism, the wise among us see it as just another means of puppeteering a government office. The US is losing its status as a representational democracy for each bill like this one.

[-] tatterdemalion@programming.dev 15 points 2 years ago* (last edited 2 years ago)

I can't speak for OCaml, but type inference provides a lot of benefit in Rust. I already have too many keystrokes as it is, and forcing me to be explicit about everything would just add to the stress of using a keyboard.

I agree that types should be explicit at API boundaries. That's precisely where you want to catch misuse.

As for the point about inference making code harder to read: I suppose that's true if you spend a lot of time reading code outside of your editor where you also must know what the types are. But that just sounds like a bad workflow in general. Why are you avoiding using a better tool for the job? Modern code review tools like Github even support LSP-like features to solve this problem; and if your language isn't supported... just pull the feature branch to review it.

[-] tatterdemalion@programming.dev 15 points 2 years ago* (last edited 2 years ago)

Honestly the only things that are similar to C++ are small amounts of C-like syntax, RAII, smart pointers, and iterators. And even so, Rust improves those features a lot. The list of things that Rust rejects from C++ is much larger; Rust does not have:

  • new and delete (perhaps discouraged in modern C++)
  • function overloading
  • inheritance (replaced by composition or traits)
  • friend classes (replaced by modules)
  • exceptions (replaced by Result values)
  • 6 different kinds of first-class constructors (hallelujah)
  • templates (replaced by constrained parametric polymorphism)
  • variable mutability by default

Rust does OOP very differently and leans harder into functional paradigms.

view more: ‹ prev next ›

tatterdemalion

0 post score
0 comment score
joined 3 years ago