TWC9: node.js for Visual Studio, EntLib 6 Dev Guide, SmartOffice4TFS and more

This week on Channel 9, Charles and Dan discuss the week's top developer news, including;
Picks of the Week!
Homework Question: [15:50] What is a side-effect of itself?
Thanks guys! Elisa, Paxton and I just watched this. Thanks for the well wishes.
From cloud nine to Channel 9,
Brian, Elisa and Paxton
Side effect of itself.. that's interesting, kind of a zen programming question, tree falling in the woods type of thing
its a side effect so it changes some state or its somehow unintended and its caused by itself so in other words its recursive.. maybe like a setter that calls itself? Like when you have a property and a field called Foo and foo and you accidentally use Foo instead of foo in the setter of Foo? I dunno...
it is called evolution or live,one output of a operation become the input of the new
Sure, in its simplest form, recursion can be function (input) -> side effect (output) -> function input (side effect (output)) -> you're passing side effects into f and computing f with that data until some state is reached (unless you're infinitely computing...). So, in this case, a result is passed to itself (function), not itself, which is the basis of the question (by definition, a side effect of x that is x is x).
A function, f, that returns f would be a sufficient answer to this question. Or would it? More interestingly, as Erik Meijer answered ( he did the homework, too ), energy, e, could be a correct answer. How so?
Question 42.
C
PS: On an unrelated note (or is it? Is knowledge a side effect of itself?), did you read the history of 0/1 based indexing? What do you think of the author's take?
The article "citation needed" is really interesting and don't miss the comments.
Thanks for that Tip!
A side-effect of itself is called a *Quine* :)
@Matt:
That should be correct, Matt. A quine returns it's implementation (itself as code in the programming case).
There are more answers! Keep them coming.
C
.Net does support "non-standard" array bounds. The following code creates an array with index bounds of -5 To +4. The method of doing it doesn't permit array indexer access though, you have use the SetValue and GetValue methods.
Dim wierdArray = Array.CreateInstance(GetType(integer),{10},{-5}) wierdArray.SetValue(1,-3) Dim lb =wierdArray.GetLowerBound(0) ' -5 Dim ub = wierdArray.GetUpperBound(0) '+4
.Net supports have "non-standard" array bounds
LISP? Code <--> Data
My conceptual idea of side-effects, is an effect that cause (either intentional or unintentional) external effects to it surround environment and stimuli. Which leads to suggestion that it requires at least to thing to be interacting.
Self Referential statements can result in flip-flop behaviour,
Start: If this program Ends Then GoTo Start End
In hardware this would a feedback loop. Some of the output effecting the input, will cause the state to either converge, diverge or oscillate,
Waves propagating through a medium can "side-effect" itself, the result is un-knowable with 100% certainty every has a non-zero probabilistic value of occurring .
LOL c'mon ladies... in the context of a modern computer program that uses RAM/register based state to compute, the side effect of "itself" is called its mutable state or its invariants >.>
Yup, it's that simple...
Interesting how you came to immutable programming while thinking about "quality" from such a philosophically poised question without connecting the concepts by thinking about it too hard
thanks for a nice show,, so you whanted to see the ILM
it is here for you, it has been there for manny years
https://www.youtube.com/watch?v=teAdKHc3SJY
and in case you miss out on trailer one
https://www.youtube.com/watch?v=yBDzTahXrbg
and on the 20 december 2013 ,, you will know ILM
Michael Hansen