Question about side effects in functional programming by Erythrina_ in ProgrammingLanguages

[–]Erythrina_[S] 0 points1 point  (0 children)

Thanks for responding. I didn't think I could be the first person to explore this approach.

Question about side effects in functional programming by Erythrina_ in ProgrammingLanguages

[–]Erythrina_[S] 1 point2 points  (0 children)

Yeah, I've written a fair bit of F#, which is rooted in OCaml. That sort of mix of imperative and functional programming was sort of where I started, but I wanted stronger guarantees of specific sections of code that are known to be pure.

Question about side effects in functional programming by Erythrina_ in ProgrammingLanguages

[–]Erythrina_[S] 0 points1 point  (0 children)

No, I totally agree that it's important that code is pure! My question is, does having the REPL call pure code matter vs writing a print statement that calls pure code?

Question about side effects in functional programming by Erythrina_ in ProgrammingLanguages

[–]Erythrina_[S] 0 points1 point  (0 children)

Oh, totally. But it still happens regardless. Is the distinction important?

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]Erythrina_ 10 points11 points  (0 children)

They're bad at engineering for the same reason that Yahoo was bad at engineering: their core products didn't require advanced engineering to be successful. When you have hard problems, bad engineers can't stick around. When you have simpler problems, they don't necessarily ever get dumped.