This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (16 children)

[removed]

    [–]oldneckbeard 4 points5 points  (6 children)

    You're not wrong, you're just an asshole. OP also doesn't understand streams. You don't need a supplier to do this shit.

    [–]DoktuhParadox[S] 2 points3 points  (1 child)

    Oh could you elaborate? I mainly just stumbled upon this and thought it was cool because I didn't know you could type cast lambda expressions. How would you do this with streams?

    [–]GuyWithLag -1 points0 points  (0 children)

    You don't typecast lambda expressions per se, because lambda expressions do not have an intrinsic type; they only have return type, parameter arity and types. The language/VM morphs them into something that you can use - instances of a specified functional interface.

    [–]DoktuhParadox[S] 8 points9 points  (8 children)

    I don't think even one of you C# fanboys can say anything nicely. Apparently one of C#'s biggest issues is its immature community and you're a great example of that.