Admittedly I'm being slightly stubborn by using only the standard library, so this much is expected. It's just nice to stop and appreciate all the work that goes into open source software you use every day :)
November 27, 2024 at 5:07 PM
Admittedly I'm being slightly stubborn by using only the standard library, so this much is expected. It's just nice to stop and appreciate all the work that goes into open source software you use every day :)
Take for example my database driver; Currently it defines a struct `service` with a property `db` of type `*sql.DB`. The "correct" thing to do here would be to have some interface that any SQL dialect can implement. Then you can swap out MySQL for, say Sqlite, and it makes mocking easier in tests
November 27, 2024 at 4:52 PM
Take for example my database driver; Currently it defines a struct `service` with a property `db` of type `*sql.DB`. The "correct" thing to do here would be to have some interface that any SQL dialect can implement. Then you can swap out MySQL for, say Sqlite, and it makes mocking easier in tests
I always wondered if starting a business that sold "dumb tvs" with high quality panels and a simple, clean UI would do well. Feels like this thread gives a pretty good indication of that
November 23, 2024 at 9:46 PM
I always wondered if starting a business that sold "dumb tvs" with high quality panels and a simple, clean UI would do well. Feels like this thread gives a pretty good indication of that
Imho version #2 feels best, it's sleek, and feels consistent with the rest of the UI, plus it looks like it gives pretty solid user feedback on which is selected
November 23, 2024 at 9:37 PM
Imho version #2 feels best, it's sleek, and feels consistent with the rest of the UI, plus it looks like it gives pretty solid user feedback on which is selected