For example, imagine you have an object and it has a temperature of 50 degrees C and you want that in degrees F as you have stored userPreferences that say the users preferred units is degrees F.
Is it better to make a getTemp() method in the object that returns the temperature as a string ( like "30°F" ) or is it better to do it some other way like have a class purely for units conversions?
Or maybe multiple methods like getCelsius() or getFahrenheit()??
Please rate if you like it, it helps get the app to more coffee lovers and will ensure more development time by myself. Thanks!
- Limeleaf WeddingsPhotographer, present
- Limeleaf MediaPhotographer, Videographer, Editor, present
- Further ITWeb Developer/Designer, present
Google Lat Long: Get on the road, go off the grid, or plan the perfect w...
Tuesday, May 6, 2014 at 8:53 AM. When your life is moving fast, you need tools to keep up with your pace. Google Maps for mobile is the perf
Android 4.4.3 KTU84F to Begin Rolling Out to Nexus 5 Today
You may recall that we've seen quite a few Android 4.4.3 test builds pop up recently. But now, at least according to US third-place carrier