I've understood the basic concept of OOP for a while and have used it a little here and there, but decided that this project would be fully OOP. I'm working with PHP.
Do I need to declare every single property of an object? They seem to work without the declaration, but is it best practice to make the declaration anyway. That could turn into a very long list very quickly.
If not all properties need to be declared, then which ones would and which ones wouldn't.
I'm already up to this, and I have barely scratched the surface. There are dozens more properties to come:
public $api_key;
public $api_url;
public $data;
public $temp_scale;
public $longitude;
public $latitude;
public $degsymbol;
public $temp;
public $time;