[-] hairyballs@programming.dev 3 points 1 year ago* (last edited 1 year ago)
  • I put the types first in the file, sorted by importance
  • then the public free functions
  • then the impl blocks, sorted by importance, also. Usually, display impls and similar end up being at the end
  • then the private free functions (helpers)

The idea is that I can see all the types in one glance, then I look at the rest.

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

Firefox is really badly integrated in MacOS. The fn + arrow shortcut doesn't work, for example, it's not integrated in the menu system (the menu shortcuts don't work) etc. But there is Sideberry, so...

[-] hairyballs@programming.dev 3 points 1 year ago

Nope, my webpages are not just nested divs. I use nav, main, form, select, etc to name a few. I actually use very few JS. It's mainly for communication with the server when I need AJAX to retrieve data.

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

It's much easier to work with streams of untyped data in a weakly typed language.

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

This is especially true for steam... what a crappy app

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

What is "funny" is that I had the maximum password size thing on several bank websites (and a low one, at that). Fortunately, with 2FA, it doesn't really matter I guess.

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

You import from whatever packages you want, then you type your code. No need to create a whole project with a ton of shenanigans, a single file just works.

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

I didn't even know there were a survey (and I've used Rust professionnaly for years)

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

Well, I think it's fine for the not-so-near future. They are known to support their hardware for quite a long time. I even suspect that before their support ends, there will be some other groundbreaking new hardware.

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

Uh, not really? It's quite average compared to a complete inference like in Haskell and the likes.

[-] hairyballs@programming.dev 3 points 1 year ago

Fair point. I've experienced that in big corps, so I now you're right. For example, we would lose a bunch of time because the PCs didn't have enough memory, but they couldn't get us more RAM sticks, because of the bureaucracy, it could take 2 years or so.

[-] hairyballs@programming.dev 3 points 1 year ago

In most countries, a license for a year is worth less than a day of service...

view more: ‹ prev next ›

hairyballs

joined 1 year ago