1,622 karma · joined October 25, 2012
I put 100 lb. of potatoes in the sun. The potatoes were 99% water by weight. After drying a while, the potatoes were 98% water. How much did they weigh at that point?
There's nothing to stop our creators from doing that anyway. Simulations are often stopped, tweaked, restarted, and eventually abandoned.
Personally, I think there's value to determining if we live in a simulation. If we do live in one, we could potentially learn how to "hack" the simulation from the inside in order to improve our lives in it.
That dimension is called "time" and it does show up in the equations and models of modern physics.
For example, if I had to add a widget to a form, I could copy the implementation of an existing, similar widget and then make the necessary changes to it.
Similarly, I had to change the datatype of a field from string to integer all the way from the UI back to the database. This was fairly easy because I could make the change at one level, and then run the compiler to see what my change broke one level up. Fix, rinse, and repeat.
If I had to do any of this without access to the existing code, it would've been 100x harder.
1. Caused by confusing reference semantics and value semantics, which is pretty much inevitable when a fundamental data type is mutable.
2. Boolean is a subclass of Integer, because... why?
3. Same problem as #1.
4. Once again, beginners have no understanding of reference vs. value semantics, and why should they?
5. Default arguments of a function are evaluated just once, because... why? This one just seems crazy to me. It turns default arguments into stateful globals, so an innocent-looking function suddenly exhibits unpredictable behavior.
sum i = 1 to 5 of i -> 1 + 2 + 3 + 4 + 5 = 15
Nothing mutable there. In functional programming this is done with a `fold`, which doesn't use mutation.I think you could say that about most teams at most companies. That doesn't mean that they have any autonomy whatsoever from their company, though.
That's like saying that there's no meaningful sense in which I, apart from my brain and nervous system, make decisions about what my body does.
a = 1/(1+7)
b = 2*a+sqrt(a)
c = atan(b)/(1+c)
return c+2*d
Note that the assignment to 'c' depends on it already having a value?This is the one I like. If you have a self, then you have a soul.