ericholiveira / studio

A nodejs framework to create decoupled and scalable applications
MIT License
488 stars 61 forks source link

Incorrect word #39

Closed tejacques closed 8 years ago

tejacques commented 8 years ago

Also, your services have the free benefit of being naturally indempotent (each service receives a COPY of the message, so one service can't mess with the objects of another service) increasing your code security.

There's a typo on the bolded word, most likely you meant idempotent, but that's not really what idempotence means. I think it's clearer to replace the sentence with the explanatory text in parens, as the services are not necessary idempotent, nor are the arguments necessarily immutable. Really there's just the guarantee that the called services will not mutate the arguments because the arguments are sent via message passing.

ericholiveira commented 8 years ago

You're absolutely right @tejacques . Already fixed. Thx for your help. Would be also great to hear your thoughts on the project

tejacques commented 8 years ago

@ericholiveira awesome. I've been checking it out and will let you know!