Nick McCurdy

Results 346 comments of Nick McCurdy

Functional programming and OOP can play together nicely, you just have to be careful about state. From my experience with JavaScript, I feel like there's not much that you can...

Agreed. While I actually like how JavaScript does OOP with prototypes, the whole `.prototype` stuff can be pretty confusing at first. Maybe some sort of prototype syntax similar to `Class...

@dajoh Out of curiosity, do you have any examples you'd like to highlight? I haven't used F#.

That seems pretty awesome, I agree that currying would be pretty useful in this situation. However, how would this affect calling syntax? For example, what if there are optional parameters?...

Would `_` be used for a curried parameter or an optional parameter?

Keep in mind that Streem is in its really early phase of development. As far as I'm aware, not much is implemented yet besides parsing source files. There's still a...

# Hello World ``` ["Hello, world!"] | STDOUT ```

# Fibonacci ``` def fib (n) { if n == 0 { 0 } else if n == 1 { 1 } else { fib(n-1) + fib(n-2) } } seq(10)...

@blkdev Those should both work, Streem should have first class functions.

@matz Cool! Out of curiousity, does `"Hello World" | STDOUT` work, or does the left side have to be a list?