814 karma · joined August 17, 2016
You can also easily handle nulls in Kotlin, since values have to be explicitly nullable in order to be able to have one. This is great for your application model layers. The val/var paradigm is nice so you can stop having to remember to write 'final'.
If you ever get stuck and don't know how to write something in Kotlin, you can just write it in Java and either use it, or just paste the code in IntelliJ and it will convert it to Kotlin.
Lastly, Kotest + Mockk is awesome--super readable testing.
val map = hashMapOf( "John" to "Doe", "Jane" to "Smith" )
Seems pretty non-ridiculous to me. Maybe you were using an old version? I guess you can switch now :)
Also, to those who down-voted me: Do you not see the irony? Thank you for waging war upon my dissent :). I merely pointed out that the article is one-sided, which is obvious. Perhaps you should look inside to see why you are so defensive of it.
1) using source code to find security exploits
2) competitive machine learning algorithms
In the second case, imagine if a competitor had access to algorithms used in marketing for bidding on ads. You know what features it uses, what default values it uses, how it works, etc. You could do some damage with that knowledge
When I was younger, one had to search high and low on the net trying to find help using shitty dial-up service. Then, you'd end up in some IRC channel asking for help and someone simply says 'RTFM!'
I admit, I agree that "Lie." was a little on the cold side. I find that when people blurt out something so obviously and verifiably false that they are either being lazy or facetious which also does not "lead to a constructive conversation". Perhaps if I had the ability to downvote it I would have done that and moved on. Not an excuse, just an explanation.
> The user must click a button or check a box. This action helps confirm the user's agreement of the terms.
https://www.upcounsel.com/are-website-terms-and-conditions-l...
You mean, be successful?
> It’s like denying someone electricity.
Like electricity? That's a laughable assertion.
Thankfully you are completely mistaken about what the law is.
They'd still have to do their normal legal thing they do, while also having to manage a hosting service.
Snap developers tell us they won't let you disable an update on our own systems, never mind if we don't want to update...
It feels almost like there is some arrogance going on nowadays in the industry.
Nowadays, if software is not customizable or if it forces updates, I will look elsewhere for alternatives. It has actually started to inspire me to start some new side projects.
Essentially the mRNA is packaged into a lipid, which the body's cells can uptake thru its phospholipid bilayer
> Temporarily use the old resolver when necessary. If you run into resolution errors and need a workaround while you’re fixing their root causes, you can choose the old resolver behavior using the flag --use-deprecated=legacy-resolver