It looks like you're new here. If you want to get involved, click one of these buttons!
The first real code I wrote has been in VBS for Excel - yeah, you laugh... But there I have learned that it is nearly always better to create a variable than using a long "path" like that:
set sheet = Application.CurrentWorkbook.ActiveSheet and from then on work only with "sheet".
I've tried to google for that, but I do not know the right words to look for. What would be better:
$value = Gdn::cache()->get($key); ... Gdn::cache()->store($key, $value);
$cache = Gdn::cache(); $value = $cache->get($key); ... $cache->store($key, $value);
$cache = new Gdn_Cache(); $value = $cache->get($key); ... $cache->store($key, $value);
Or isn't there any difference at all?