Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> on Apple platforms, you’ll have NSUserDefaults (objc) and UserDefaults.myVar (Swift). It works just like the author wishes.

You could write something similar to NSUserDefaults in any language for any computing environment, but that's not what the author is talking about. He is talking about the same basic concept, yes, but where it exists within in the language itself, not something implemented on top.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: