Readit News logoReadit News
LOLCAT1024 commented on JavaScript Pattern Matching Proposal   github.com/tc39/proposal-... · Posted by u/JONBRWN
edflsafoiewq · 7 years ago
Can you elaborate? What do you mean "match objects by their fields"? How does the proposal not already do that?
LOLCAT1024 · 7 years ago
Maybe I did not express my self correctly, what I meant was - in it's current state the proposal rquires, when matching against an object, to specify all it's fileds, say you have an object with keys a, b, c then even if you match soley against the values of a , b you are required to specify c and by doing so notify it's existence. This poses a problem , since if you now remove c or add a filed d then the match will break failing to the default case , this means failing silently the worst that can happen. The described situation will be more then common since objects are ubiquitous to modern day js. Sadly nobody noted the existence of such a design flaw , which in my opinion is rather big since the proposal in it's current state implicitly turns objects into some kind of types , which they are not, such transformation will result only in increased coe coupleing , since anyone who matches against an object basically specifies it's type and as a consequence only doom and despare will follow to anyone involved.
LOLCAT1024 commented on JavaScript Pattern Matching Proposal   github.com/tc39/proposal-... · Posted by u/JONBRWN
LOLCAT1024 · 7 years ago
This proposal will increase code coupleing by fixing the object structure, this will lead to refactoring problems and so on. A better approach would allow to match objects by their fileds while leaving the structure of the object unspecified.
LOLCAT1024 commented on Telegram is the hot new source for pirated content   theoutline.com/post/4143/... · Posted by u/darkkknight
Asooka · 7 years ago
Well my friends who pirate just hoard the money they would otherwise be spending. If you're at the point where spending on entertainment would come out of money, that you would otherwise spend on something more worthwhile, you shouldn't be watching movies and listening to music in the first place! You should be working and bettering your economic position!

Not everyone can afford to have fun and that's ok. Some people's place in life is to be workers.

LOLCAT1024 · 7 years ago
I congratulate you on winning the genetic lottery.

Do you have any suggestions on the prefered skin color or ethnicity of the people who need to be workers ?

LOLCAT1024 commented on Telegram is the hot new source for pirated content   theoutline.com/post/4143/... · Posted by u/darkkknight
HenryBemis · 7 years ago
I agree with you, except for the fact that I have a couple of apps in the Apple Store and I wouldn't like someone copying and distributing freely my apps, and having 100,000 people enjoying my app while I collect only $1.

That said, we fought to have DRM-free material, not for piracy purposes, but for ease-of-use. Let's please not lose this Right because of some thieves.

LOLCAT1024 · 7 years ago
I hate when people do this, what if I download the app and it will be garbage ? Id lose money, that's also a reason for pirating content, when I search for a book on a certain topic I usually would discard 3 or 4 matches before choosing what I need, and the only way to discard these matches would be to read part of the book, the part which usually doesn't get in the previews.

Piracy is not just a way of getting content for free it's also a way not to lose money.

Low quality content is being intentionally sold to you. Just look at some books on programming, they trick you on thinking that they do have quality info, but in fact are just lazy rewrites of specifications or man pages. I also remember reading from HN about a guy who made millions by selling total garbage books on amazon.

Eventually if I found a good book I buy it as a way to thank the author, but buying books before reading them it is just a way to motivate people to produce more mediocre content.

LOLCAT1024 commented on Telegram is the hot new source for pirated content   theoutline.com/post/4143/... · Posted by u/darkkknight
John_KZ · 7 years ago
Piracy fixed some issues (like extremely inflated profit margins in the Music/Movie industry) but it also created some others. It is no longer possible for small producers of movies or documentaries to fund themselves. It's also not possible to distribute software for people to run on their own machines and still get paid.

The piracy era was incredibly beneficial for society because it gave a lot of people access to software tools and knowledge they previously could never afford to access, but when it proliferated too much, the companies and individuals that produced software and books and video could no longer sustain themselves financially.

This doesn't mean piracy is inherently bad but instead we need a better system that can provide income to those producing useful material while ensuring access to that material to everyone that needs it. It's hard to achieve but it's certainly not impossible.

LOLCAT1024 · 7 years ago
> It is no longer possible for small producers of movies or documentaries to fund themselves.

KickStarter allow small producers to fund themselves, YouTube allow to monetize your views.

LOLCAT1024 commented on Telegram is the hot new source for pirated content   theoutline.com/post/4143/... · Posted by u/darkkknight
Asooka · 7 years ago
Piracy is a real issue. It disrupts the money flow towards media distributors and artists, and thus weakens the economy.
LOLCAT1024 · 7 years ago
I couldn't imagine how I could finish college without pirating most of the text books. Piracy gave me an opportunity to grow professionally and morally through infinite media access. Shure if your upper middle class this is an issue to you , since you can afford anything , and now you can moralize and shame people for pirating stuff, which to me, is the same as bragging of your social status. But I am not rich, and to me piracy isn't , like a choice , it is the only option.

u/LOLCAT1024

KarmaCake day56November 20, 2015View Original