Technically this is also possible with for loops, like with OpenMP
Technically this is also possible with for loops, like with OpenMP
Compiler optimizations like function inlining are your friend.
Especially in functional languages, there are a lot of tricks a compiler can use to output more efficient code due to not needing to worry about possible side effects.
Also, in a lot of cases the performance difference does not matter.
We had one who pulled up the pdf of the textbook to read it word by word
Also surely a lot of people would know tar -Create Ze Vucking File and/or tar -Xtract Ze Vucking File
You mean that instead of having a binary blob you have a generator for the data?
Why? Cause shops are open on sunday? Having no workers rights makes that a lot easier
You cry
Depends on how deep down the rabbit hole you want to go :p
I want a roof python now
Good luck reaching an unwilling horse’s eye balls
I also vaguely remember such a story but there the aliens got fukd up because when all hope was lost humans just started kamikaze-ing their ships. Spite is our superpower.
If you get prep time you could set up some traps.
Assuming both sides see it as a fight to the death, the horse will also engage so you could just run away into a bunch of traps. All you need is for the horse to injure a leg in one trap and it’s done for. I think even just some holes with a couple spikes would be enough to injure and maybe even sprain an ankle.
Without prep time you’re pretty doomed, I think your best bet is either climbing up a tree to buy you some prep time to make a spear out of the branches or worst case diving in, aiming to do damage to its legs (unlikely) and hope you are able to get out without being trampled (unlikely)
Dogmatic statements like this lead to bad, messy code. I’m a firm believer that you should use whatever style fits the problem most.
Although I agree most code would be better if people followed this dogma, sometimes mutability is just more clean/idiomatic/efficient/…
In functional programming, everything is seen as a mathematical function, which means for a given input there is a given output and there can be no side effects. Changing a variable’s value is considered a side effect and is thus not possible in pure functional programming. To work around this, you typically see a lot of recursive and higher order functions.
Declaring all values as const values is something you would do if you’re a diehard functional programmer, as you won’t mutate any values anyway.
Tar Xtract Ze Vucking File
Edit: apparently someone else already mentioned this, oops
I finally quit and started playing overwatch2 instead. Same amount of salt/toxicity!
Reed hucks = redux Heather net = ethernet
You clearly don’t use this one, don’t you know lemmy instances automatically censor your ********?
While you do have a fair point, I was referring to the case where one is basically implementing a map operation as a for loop.