| The concurrency stuff sounds nice. Apart from that I'm underwhelmed. I can handle epoll based code without problems anyway. The whole "file handles" can't escape a certain scope sounds like what python's with statement does. The whole it's amazing that you can "encode business logic in types" thing I really don't get. That's basically the selling point of object oriented code. Similarly, SQL injection is a problem that largely plagues dumb PHP code and is close to irrelevant if you use a half-way decent ORM in any language. >The term 'mostly functional code' is meaningless Any code that is mostly made up of functional programming, but still has some state handling code. I think it's pretty clear. >Actual software at the scale is quite complex. Gee maybe that's why I said it was complex. >That's fine. But based on what I've seen (to be completely honest, not as an insult, you do not give the impression of someone who has spent extensive time with it[1]), I'd say you're greatly underestimating exactly what it is capable of, as well as precisely what capabilities it offers in the first place. No, I haven't used it extensively. I've played with it. I honestly think if it the benefits you tout were as great as you seem to think they are then there would be a far greater wealth of practical software written in it. I know of one website (a local fashion retailer) and Facebook's spam filter. That's about it. |
It is incredibly easy to return a file handle out of a with statement. There is nothing in place other than programmer discipline preventing you from doing so, and your program blows up in... interesting ways.