« first day (4423 days earlier)      last day (537 days later) » 

1:06 PM
o/
 
1:57 PM
\o
 
2:41 PM
o/
@MarkR My chair arrived already!
 
@Trowski What kind did you get?
 
@StatikStasis The Herman Miller Logitech Embody
 
Wow nice. That must be a good chair.
 
I'm quite pleased with it so far, though I've only been using it for about 30 minutes :)
 
2:56 PM
@Trowski Which did you go for?
ah you already answered nm xD
Did it come in the GIANT BOX?
I made the mistake of not asking them to take it away, thinking it was needed for returns if necessary
 
3:08 PM
@MarkR Yes, fully assembled in an enormous box. I believe it is required for returns, so I haven't cut it up yet.
Mine was dropped off by FedEx, taking boxes away isn't really something they do. I assume yours was dropped off by one of their stores then?
 
They have a specialist delivery partner in the UK
They turned up, unpacked it all
 
 
4 hours later…
7:25 PM
o/
 
7:50 PM
uuhhhh.... I was wondering
is doing
foo(bar($baz))
more performant and efficient than:
$asd = bar($baz);
foo($asd);
???
Which of the two would you use, considering that the variable $asd is only being used once in the whole code


Because.
I was having some struggles with static code analysis when I was using `foo(bar($baz))` because the baz function returns `mixed` although I am 100% sure that with specific inputs it returns a valid type that can be fed into `foo`.
So now I'm splitting my nested function calls and creating "useless variables" so I can assert their type and make the code ch
 
it's 1 op less, but do you really care that much about it? 3v4l.org/ZbVKL/vld / 3v4l.org/IgZXL/vld
i don't think it's going to make that much ( if any ) difference in an application, focus on optimizing algorithms and IO operations, that would give you a better result.
 
yeah, that's a good advice
premature optimization is really the root of many evils
though I'd like to run a few more tests on this
what was kinda worrying me is the memory usage
thank you @SaifEddinGmati !
 
@yessure didn't look at it, but i'm 99% certain it's the same memory usage for both.
here you go: 3v4l.org/M0ov8
 
 
3 hours later…
11:04 PM
!!! Wowww, that's cool!!
Thank you a lot
 
11:27 PM
What's up smitches o/
 

« first day (4423 days earlier)      last day (537 days later) »