namingthingsiseasy

joined 1 year ago
[–] namingthingsiseasy 15 points 7 months ago

Honest question here: what would stop me from starting a video, then pausing it and walking away from my computer for several hours so youtube plays ads to no one?

Now repeat but with several tabs.

And bonus points if the videos simply happen to be mine and I were to enable monetization on them.

Hmmm....

[–] namingthingsiseasy 3 points 7 months ago

Agreed on all points. I think some of the issues that you're facing are things that would be resolved if Ocaml were more popular. But some others would be harder to fix without making breaking changes to the language as I mentioned earlier. If I had to put it as succinctly as possible, I'd say that the language just needs a lot more polish which would probably happen if it were more mainstream. But not all languages have to be mainstream, and maybe Ocaml's purpose in the world is, as you put it, to inspire other languages. It is definitely extremely good at that!

[–] namingthingsiseasy 78 points 7 months ago (5 children)

Sounds to me like these tech workers could really use a good union to protect them.....

[–] namingthingsiseasy 29 points 7 months ago (6 children)

No one has said Ocaml yet, so I will. It's not a perfect language, but it has a lot of cool ideas and concepts. It's a functional language, but allows you to write imperative code when you want to. Algebraic data types and type matching are built natively into the language and work very nicely. It's type inference capabilities are very powerful (though that can backfire at times), and the |> operator is really, really fun to use. It also has very powerful module/functor capabilities, though they go a bit over my head since I haven't had a chance to play with them. Also, Opam is a very powerful package manager and it's pretty easy to wrap/bind external libraries with it.

I'd love to see some improvements to the language - the syntax is a bit confusing and ugly at times (but this unfortunately can't be fixed without breaking the language of course) - but overall I think I'd have a lot more fun programming in Ocaml than what I do in my day job.

[–] namingthingsiseasy 13 points 7 months ago (3 children)

Agreed. Objects are nice and a great way to program. Composition is great. Traits/interfaces are great. Namespaces are great. Objects are a really nice way to reap the benefits of principles like these.

But then there are aspects of OOP that absolutely suck, like inheritance. I hate inheritance. The rules get very confusing very quickly. For example, try understanding overriding of methods. Do I need to call the superclass method or not? If not, does it get called automatically? If so, in what order? How do these rules change for the constructor? Now repeat this exercise for every OOP language you use and try not to mix them up... Java, C++, Python, etc.

Fortunately, it feels like we rely on inheritance less and less these days. As an example, I really like how Java allows you to implement Runnable these days. Before, if you wanted to run a thread, you needed a separate object that inherited Thread. And what if that object needs to inherit from another one too? Things would get out of hand quickly. (This is a very old example, but with lambdas and other new features, things are getting even better now.)

Anyway, long story short, I think OOP is a complicated way to achieve good principles, and there are simpler ways to achieve those principles than a full OOP implementation.

[–] namingthingsiseasy 2 points 7 months ago (1 children)

Those documentaries are great findings (and really really interesting). I would highly suggest posting them to the channel (or I would be happy to if you don't mind)

[–] namingthingsiseasy 25 points 7 months ago (1 children)

And ofc, Microsoft is well aware and is not interested in letting that happen.

This is true, but there are only so many times that they can pull off what they did in Munich. If enough cities keep trying at this, there's no way they're going to be able to hold the floodgates back forever.

I'm usually a pessimist, but stories like this actually do get my hopes up

[–] namingthingsiseasy 9 points 7 months ago

I'm really curious to know which version of KDE Microsoft was copying that gave them the idea to insert ads in the first place....

[–] namingthingsiseasy 3 points 7 months ago

Win98 had themes, and they were absolutely fantastic!!

[–] namingthingsiseasy 6 points 7 months ago (1 children)

Opt in??! Before you know it, you're going to suggest that we start to respect our users!!

[–] namingthingsiseasy 3 points 7 months ago

Agreed, Linux is quite popular in academia, particularly in any technical field. A lot of scientific software has to run on Linux because of supercomputers, and especially a lot of open source software is Linux only. So a lot of students run Linux for convenience, and a lot of computer labs run Linux as well. Of course, there's also the fact that lots of people just think Linux is better than the alternatives, and they're more likely to try new things when they're at a university student's age.

So I feel like that would probably be a significant contribution to the 2% that's being reported

[–] namingthingsiseasy 2 points 7 months ago

Just updated on void and saw the same thing

view more: ‹ prev next ›