dafi.dev (@dafi_dev) header
dafi.dev (@dafi_dev) profile picture

Iโ€™ll be sharing practical coding tips, clean code insights, and battle-tested habits I use daily. If you're into writing better code โ€” follow along. ๐Ÿš€

Jakarta Selatan, DKI Jakarta
Joined December 2014
Singleton Pattern The Singleton ensures a class has only one instance โ€” and gives global access to it. ๐Ÿง  Common use cases: โœ… Logger โœ… Configuration โœ… Database connection Check how it looks in Java ๐Ÿ‘‡
2
81