[-] GetOffMyLan@programming.dev 7 points 1 week ago* (last edited 1 week ago)

Tbh as an experienced programmer I knew exactly what it was straight away. And I don't know rust. I would imagine the others are similar.

The reason that example is simpler is because JSON is literally JavaScript Object Notation.

It's also not the same thing. HashMap have type parameters. So you can only add strings to that HashMap whereas you can add anything in js. Does that code even compile?

You can also do "text".to_string() which simplifies it more.

I feel you're quite inexperienced and once you do more in different languages you'll begin to realise why things are like this.

Rust is a compiled language with static typing so these things are required for the compiler to do its job.

It's also a performance focused language and would blow ts/js out of the water completely on that metric.

Languages are just tools and they all have advantages and disadvantages. You use the right tool for the job.

[-] GetOffMyLan@programming.dev 6 points 2 weeks ago* (last edited 2 weeks ago)

That example is so insanely readable lol

Absolutely standard looking code for many languages.

[-] GetOffMyLan@programming.dev 6 points 2 weeks ago

Seems sensible. Check the output of AI tools before posting. Be pretty stupid not to proof read it at a minimum.

[-] GetOffMyLan@programming.dev 6 points 3 weeks ago* (last edited 3 weeks ago)

At the end of the day web sites cost money. There needs to be a way to fund them.

People 100% aren't going to pay to access every random website they want to visit. So what you'd end up with in a world without ads is only the big corporations being able to run a website.

Back in my day (lol) ads were based on the website not the user. When you set up ads you selected keywords for your website and those were used to select ads.

Like you'd visit a programming blog and get ads for computer games and porn. Made total sense. You're still targeting your target audience just not the individual.

Targeted ads are obviously way more effective and therefore generate more money. But it's not the only way.

The alternative is to set up some system where you pay a monthly fee and it's divided amongst the websites you use. But that seems like an equally bad privacy nightmare.

[-] GetOffMyLan@programming.dev 7 points 1 month ago* (last edited 1 month ago)

I would say being more inclusive is bringing value.

There's a massive issue with women being under-represented in STEM and little things like this only further cement that.

It's casual sexism. I'm not suggesting they are intentionally hating on women.

Assuming it's a man because it's programming is fundamentally sexist.

What downsides would they be?

[-] GetOffMyLan@programming.dev 7 points 1 month ago* (last edited 1 month ago)

I didn't label him a sexist. But that is a sexist act. Assuming a man because programming fundamentally is sexist.

[-] GetOffMyLan@programming.dev 6 points 1 month ago* (last edited 1 month ago)

A flat 50 column table is usually an indicator of bad design and lack of normalization.

Nosql is absolutely ideal for flat data with lots of columns and huge amounts of rows. It's like one of its main use cases.

That many parameters is an indicator of poorly structured queries and spaghetti code. There is no way that's the best way the data can be structured.

[-] GetOffMyLan@programming.dev 7 points 1 month ago

"I can easily do it on my phone" is also good.

[-] GetOffMyLan@programming.dev 7 points 2 months ago

Completely agree.

Yeah I think the first episode did a great job of explaining why NFTs are stupid haha

I love anything that flashes back to Fry's old life. It was genuinely a funny episode as well.

The third is so brilliant. Absolutely loved it.

[-] GetOffMyLan@programming.dev 7 points 2 months ago

Honestly I'd be happy with the same hours but an extra day off.

An 8 hour work day consumes most of the time around it as well.

[-] GetOffMyLan@programming.dev 6 points 2 months ago

No one cares who you block dude.

[-] GetOffMyLan@programming.dev 6 points 2 months ago

Yeah it's pretty gobbledygook. Don't think you explained yourself that well.

Many people just want to do their job and go home. They don't want to make friends. Or they have no motivation to do anything beyond what they are paid for to help the company or colleagues.

Which is totally fair enough to me. If I didn't need to work to live I 100% wouldn't. Even though I quite enjoy my job and like the people I work with.

view more: ‹ prev next ›

GetOffMyLan

joined 2 months ago