[-] FizzyOrange@programming.dev 5 points 9 months ago

It's because as soon as one country forces it on their citizens the others can say "it can't be that crazy - Australia and the UK have already done it!"

[-] FizzyOrange@programming.dev 5 points 10 months ago

in the react-server package used by React Server Components (RSC).

[-] FizzyOrange@programming.dev 5 points 10 months ago

I suspect in the real world it's frustrating enough for restaurants that it wouldn't have worked out.

You're pretty much tricking restaurant workers into one of those awful voice-based phone trees.

Plus there are so many things that can actually happen when you try to book a table on the phone - they don't have exactly what you want but can offer you this time instead... they only have outside seating available... etc. etc.

Plus, just having a proper online booking form is clearly a better option and not totally uncommon these days.

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

Yeah there's a huge difference between "works 98% of the time" and "works 99.8%" of the time, even though they are both "works most of the time".

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

Yeah I agree. It's often easier to start from something that's wrong than a blank page.

[-] FizzyOrange@programming.dev 5 points 2 years ago

Sure, but there are a gazillion forum websites already. I'd just use an existing one. The one D uses is the best I've ever used. I think it's actually written in D, which is a very niche language but way nicer than Ruby.

[-] FizzyOrange@programming.dev 5 points 2 years ago

No, they're inherently optional in Git. There's no way to "check in" a git hook. You have to put in your README

Clone the repo and then please run pre-commit install! Oh and whatever you do don't git commit --no-verify!

You definitely need to actually check the lints in CI. It's very easy though, just add pre-commit run -a to your CI script.

[-] FizzyOrange@programming.dev 5 points 2 years ago

No, the alternative solutions definitely wouldn't work with existing Rust code. You need a new language.

[-] FizzyOrange@programming.dev 5 points 2 years ago

Sorry that example was a bit too limited to demonstrate the problem actually. Add a second lambda and you hit the issue:

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=eb99d3d670bdd9d92006f4672444d611

Still totally fine from a safety point of view, but the borrow checker can't figure that out.

[-] FizzyOrange@programming.dev 5 points 2 years ago

So either you agree with what it's called or you're "disruptive" and should be banned? Hmm.

I read a load of his comments and they seem quite reasonable. A million miles from ban-worthy.

[-] FizzyOrange@programming.dev 5 points 2 years ago

Come on, surely by now everyone knows TIOBE is meaningless bullshit?

[-] FizzyOrange@programming.dev 5 points 2 years ago

Yeah possible, but this of the amount of effort that would take!

view more: ‹ prev next ›

FizzyOrange

0 post score
0 comment score
joined 3 years ago