On code that doesn't make sense to have a this context, such as utility functions that relate to a class
, is there a definition and calling syntax for "static class" methods in Pony or am I holding it wrong?
Static class methods in pony?
133 Views Asked by AudioBubble At
2
Looks like you can't include them in an existing
class
, but stdlib uses this pattern of hacky workaround: