And all I was trying to show is how you can use getters to make x == 1 && x == 2, so whether I used window or global or globalThis or with is totally irrelevant and this just comes off as y'all trying to act smarter than everyone else
it's just 37 minutes now, but don't you think Apple should detect when it's about to show an unreasonable estimate and replace it with whatever the previous estimate was?
@user ah, and there's a distinction between functions taking no parameters and functions taking an empty parameter list (though i do find it funny that there's a further distinction between functions taking an empty parameter list and functions taking a single parameter of unit type)
@pxeger 1. Pirate a game 100,000 times. The video game company instantly looses 6 million dollars. 2. Offer to buy the company and take on their debt for free. 3. Delete all the copies of the game from your harddrive. You are now a millionaire.
@UnrelatedString Yeah a big part of that is so you can differentiate between nullary methods that are pure, like fields (stack.peek) and nilary methods that do an action (stack.pop())
@UnrelatedString Yeah the I always remember it is that if you asked for the argument list to foo.bar, it would be null -> nullary, but you have to account for Odersky occasionally doing stupid things, making it nilary and the other one f() nullary
@WheatWizard In Scala, f could be just the function f, it could be a function call without arguments if that's how the function was defined, or it could be a function call to a function taking only implicit arguments :|
fff ()f ()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f()f(()) should output 0 but in your interpreter I get -17
@GingerIndustries puts Ginger in the ocean for reasons on one of the backed up cargo ships waiting in LA harbor for the past 110 days to actually unload cargo
Let's define a simple function \$f\$ which takes an integer and produces a list:
\$
f(n) = [g(1),g(2),\dots,g(n)] \\
g(n) = [f(0),f(1),\dots,f(n-1)]
\$
We can then calculate the first couple of values for \$f(n)\$:
0 ->
[]
1 ->
[[[]]]
2 ->
[[[]],[[],[[[]]]]]
3 ->
[[[]],[[],[[[]]]],[[],[[[]]],...
@Adám For a second I interpreted that as you having a lot of kids, brainwashing them to like code golf, then spreading them across the world, after which some would join CGCC lol