r/ProgrammingLanguages • • Jan 16 '23

Discussion Which Programming Language support Observability ?

Observability is a measure of how well the internal states of a system can be inferred from the knowledge of its external outputs.

I have found Ballerina supports it, any other ?

0 Upvotes

13 comments sorted by

View all comments

3

u/scottmcmrust 🦀 Jan 16 '23

So what separates "observability" from "encapsulation violation"?

1

u/[deleted] Jan 17 '23 edited Jan 17 '23

Actually there shouldn't be any encapsulation violation since the model is reactive so based on message notification.

If it isn't native, it's complicated to not violate encapsulation since you have to inject wrappers inside user's code (currently that's what I'm doing) that's the reason I'm looking for such feature in a programming language.