![](/static/0b35d4a1/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/gWmVEUZ94Z.png)
He joking that they’ll run Hillary again.
He joking that they’ll run Hillary again.
They tried that back in 2016 and it just made him stronger.
The only clean way to do it is for Biden to step down put Kamala in by default and let anyone who wants to run in 2028 fight for the new VP spot. Most voters thought this was the plan anyways in 2020. That said Biden’s not going to step down so they aren’t doing shit.
Its like if subroutine bar
could say its going to execute at line N of routine foo
. But if you were just reading foo
then you’d have no clue that it would happen.
You can simulate this effect with bad inheritance patterns.
Yeah but they’re basically relegated to side show characters by their party.
My method names are the same way but I aggressively sort things into modules etc so it comes out the other way.
But if I was staring down dozens of these methods and no way to organize them, I’d start doing the sorted names just for ease of editing. L
I’m very suspicious of the uses cases for this. If the compiled bash code is unreadable then what’s the point of compiling to bash instead of machine code like normal? It might be nice if you’re using it as your daily shell but if someone sent me “compiled” bash code I wouldn’t touch it. My general philosophy is if your bash script gets too long, move it to python.
The only example I can think of is for generating massive install.sh
Neither China nor Russia is going to give Israel the time of day
Russia is actually Israel’s #1 exporter of Jews, which is vital for maintaining their racial majority. As a consequence Russian-Israeli relationships are warm. Bibi and Putin are on very good terms.
Israel already has very close ties with Russia as (iirc) its the country sending the most Jews to Israel to maintain the Jewish majority. That said, Russia sparing any munitions for anyone else is doubtful.
No. Persistent Data Structures are not mutable. The memory space of an older version is not rewritten, it is referenced by the newer version as a part of its definition. ie via composition. It can only safely do this if the data it references is guaranteed to not change.
x = 2 :: 1 :: Nil -- [2, 1]
y = 3 :: x -- [3, 2, 1]
In this example both x
and y
are single linked lists. y
is a node with value 3
and a pointer to x
. If x
was mutable then changing x
would change y
. That’s bad™ so its not allowed.
If you want to learn more about functional programming I suggest reading Structures and Interpretation of Computer Programs or Learn You a Haskell for Great Good
Very standard use case for a fold
or reduce
function with an immutable Map as the accumulator
val ints = List(1, 2, 2, 3, 3, 3)
val sum = ints.foldLeft(0)(_ + _) // 14
val counts = ints.foldLeft(Map.empty[Int, Int])((c, x) => {
c.updated(x , c.getOrElse(x, 0) + 1)
})
foldLeft
is a classic higher order function. Every functional programming language will have this plus multiple variants of it in their standard library. Newer non-functional programing languages will have it too. Writing implementations of foldLeft
and foldRight
is standard for learning recursive functions.
The lambda is applied to the initial value (0 or Map.empty[Int, Int]
) and the first item in the list. The return type of the lambda must be the same type as the initial value. It then repeats the processes on the second value in the list, but using the previous result, and so on until theres no more items.
In the example above, c
will change like you’d expect a mutable solution would but its a new Map each time. This might sound inefficient but its not really. Because each Map is immutable it can be optimized to share memory of the past Maps it was constructed from. Thats something you absolutely cannot do if your structures are mutable.
You avoid having mutable state as much as possible. This is a pretty standard concept these days.
Immutable members. Set in constructor then read only. The Builder pattern is acceptable if you’re language is an obstacle.
I think “psychotic 1800s style colonial project we inherited from the Brits” is better but also too verbose.
Theres a reason BDS just points to Apartheid South Africa. (and Rhodesia)
Bibi is basically a centrist in Israel so I dont think that holds up. eg the humanitarian aid at some border crossings are being picketed by Israeli chuds. Sure there are some good Israelis but they aren’t the norm.
Vassal isnt the right word. Israel notoriously doesnt take orders from the US. Also I’m pretty sure they have a like a visitor pass to 5-eyes.
wth is your position then? If I can know the types from just looking at the code then it must have adequate type annotations and none of this matters. If I can’t tell the types and I have to pull the code locally to figure it out then I’m not starting the review on a good foot.
I think people here are thinking about type inference in a very local scope and not at a public function level which I understood the author to be complaining about.
That doesnt change my point. The tooling is completely downstream of the language.
It legitimately should be Kamala’s turn but “It’s Her Turn” was a 2016 slogan of Hillary.