Silk.NETS
Silk.NETβ€’2w agoβ€’
18 replies
Exanite

New NameUtils.Prettify()

Soo uhh, I decided to rewrite the entire prettification code (as in
NameUtils.Prettify()
)
The problem areas were in the regexes and Humanizer code and I didn't really want to debug either of the two πŸ˜…

The rewritten
NamePrettifier
should be much easier to debug and modify since it's all simple C# code (no regexes or outside libraries).

There are roughly 30 tests handling name prettification
and all except an old one passes (the old one does represent a very important case though, so I'll fix that)
Edit: Fixed. I'm now handling cases where the generated bindings have changed unexpectedly.
Was this page helpful?