[-] FizzyOrange@programming.dev 2 points 11 months ago

Bun uses JavaScriptCore. Deno uses V8.

But yes it would be good to see a comparison to JavascriptCore and V8.

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

I completely agree. Also almost all of the fancy editing you can do with Vim can be done just with multiple cursors, and it's less annoying because you do it incrementally (rather than typing a long sequence of commands and then seeing the result), and you much less to memorise.

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

Also, these people are all 100% guaranteed to be fired and blacklisted from every major tech firm for the rest of their lives…

I do agree, but also there are a lot of naive people who think that they won't get fired (in America of all places), so maybe they are just naive.

I mean, this exact thing already happened and somehow it was "news" when they were fired.

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

This goes against what we know about good design. Where possible you shouldn't need to use a manual. Telling people to always read the manual is a cop out.

Also he apparently read his furnace's manual and months/years later remembered what a flashing light meant, despite never having had to refer to it again? Either this guy has freakishly good memory (possible but unlikely) or he's bullshitting. Given the overall tone I'd go with the latter.

And what is even the advantage of knowing in advance? Does he think people would not read the manual after seeing a flashing error light? You can look up most issues when they happen you don't have to memorise error codes in advance.

This is just a dumb "I'm so great" post.

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

I agree. I think it's driven by fear. I get it. I'm slightly afraid I won't have a job in 10 years (or at least a much worse paying one)...

I'm still a much better programmer than AI today. But I don't cope with the fear by deluding myself into thinking that AI is useless and will stay useless.

The feels a lot like portrait painters saying that photography will never amount to anything because it's blurry and black and white.

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

I do understand that that's what they claim. I just don't believe them. Because it requires either

  1. magical Rust maintainers who are always on call to help, or
  2. people to be on with the Rust code breaking all the time.

Neither seems likely.

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

Last I tried Outlook/Office.com/whatever it is now was still possible. Obviously don't use a VPN etc.

Or just get a burner phone of you're really that paranoid.

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

What's the deal with firing that guy? Some kind of in-joke?

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

It literally doesn’t matter how long it takes.

Found the Python dev...

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

There are arguments to be made either way, but normally you’d scope your variables in a way that the ones specific to a particular bit of code are not accessible from elsewhere.

Sounds like you agree with that one to me? I'm not sure I follow their arguments about regions there (I've never used regions), but the example of declaring a variable in a block way before it is every used is spot on. I've seen code written like that and 99% of the time it's a bad idea. I think a lot of it comes from people who learnt C where you have to do that (or maybe Javascript which has weird rules for var).

Suggest writing a custom class to do what most languages can solve with inheritance or even better: the ? syntax.

Yeah I'll give you that one. They even suggest using Optional as a solution, which is what their "smelly" code did in the first place!

Yes, it can be annoying. No, clarity is more important than insisting on removing that extra underscore.

Not sure what your point is here. Of course inconsistent naming is a code smell. Do you want inconsistent names?

They’re advocating the use of a function to replace an expression. Sometimes this works, but the task of a boolean expression is not always easily expressed in a couple words. And so you can end up with misleading function names. Instead, just put a comment in the code.

Erm, yeah that's why this is a code smell. They aren't saying never have complex boolean expressions - just that if you do you'd better have a good reason because probably you'd be better off splitting it up into named parts.

callback hell - Not even a code smell. It’s an issue from back when languages like JavaScript didn’t support promises yet, but callbacks were popular.

Indeed, so now it is a code smell.

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

I'd like to know which specific projects they funded. It's there a list anywhere?

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

IMO multiple cursors give you 90% of Vim's power without forcing you to learn a gazillion mnemonics.

Ctrl-D is all you need.

view more: ‹ prev next ›

FizzyOrange

0 post score
0 comment score
joined 3 years ago