« first day (4122 days earlier)      last day (809 days later) » 

6:00 AM
@Tiffany they should probably fix that at some point twitter.com/mjg59/status/1486915015118520320
 
 
5 hours later…
10:37 AM
morning
@MarkR It's not a bug it's a feature
 
 
1 hour later…
11:52 AM
namespace Test;

define('CONST','A');

Would expect Test\CONST
Seems a bit non-intuitive that one has to prefix the NS when defining the constant
 
Just always use const
 
Are defines used in new code or is it only present in legacy applications?
 
Would say it's a legacy thing
 
/me looks at base base he is working on

is there a difference between legacy and present? :P
 
Meaning code that was designed 10 years ago
 
11:58 AM
yes
 
I wonder how useful define() is still
 
Kind of my point
 
 
2 hours later…
1:39 PM
"If you say "space ghettos" in an American accent, it almost sounds like "Spice Girls" in a British accent." lol
 
 
1 hour later…
2:41 PM
Echo... echo... echo...
 
 
1 hour later…
3:54 PM
working on a legacy project today, learned about $a <> $b 3v4l.org/FJ6uN
 
4:26 PM
How would it differ from if ($str !== '') {
 
i don't know honestly, but i'm too scared to touch it
 
yeah don't
 
5:16 PM
@ln-s <> is just an alias of !=. github.com/php/php-src/blob/master/Zend/…
 
Not sure what's going on there
anyway I always use strict comparison
 
I'm reading a TypeScript book, it's being interesting seeing some concepts that don't exist in PHP such as overloading and generics. I'd be curious to hear thoughts on these from someone who knows PHP and knows other languages that have those features. Do you like/dislike overloading/generics? Why?
 
<> is ANSI SQL for !=
@LucasBustamante I think we all want generics, it's just a very very very hard problem
Function overloading is defacto impossible in PHP with how the current engine works
 
@LucasBustamante TypeScript doesn't have real overloading though. Overloading only works for interfaces, which is more just a way of saying that the same function takes a different combination of parameters and returns a different return type depending on those.
tutorialsteacher.com/typescript/function-overloading It does apparently also work for function, but still requires you to implement a generic version of the function.
 
5:45 PM
thanks guys
 
5:56 PM
<3 me some TS
It would be realllly nice if whoever ended up working for the foundation would consider things like structural types... >.>
 
6:11 PM
@Girgias I mean, it's valid in most modern language, it's just less common as != is regarded as more idiomatic and readable
@MarkR There might even be such people in..... here, for example...
 
@Sara I do know it exists in PHP lol
 
I figured you would.
 
It's a fun thing to throw into a code snippet to confuse people
 
@Sara :O then maybe my dreams will be answered by a yet unknown voice
 
Although I'm currently banging my head against a theorem prover
 
6:26 PM
Your professor said draw a conclusion, not draw a concussion.
 
@Girgias If that's your goal, then combine it with yoda conditionals.
 
6:49 PM
@Girgias it's the least confusing part of this project lol
 
7:22 PM
it allows TS
 
huh, well wadaya know, that's a novel concept I've never seen before. A game that wants you to automate it.
I might very well take a look at that, thanks Tiffany =)
 
8:08 PM
As an English question, could you please tell me which one is correct?
> Share the post with who you think can suit this position well.
> Share the post with whom you think can suit this position well.
 
8:25 PM
I'd probably use 'anyone' rather that who or whom, but if those are my only choices.... I believe 'whom' is more correct.
Or whomever
 
whomb
 
@Sara ah, thx
@PeeHaa is the "b" a typo?
 
Thank god for this specific week to be over \o/
Happy Rebecca all
 
9:06 PM
@PeeHaa whom'st'ever'd've suit this position well?
 
9:41 PM
@Tiffany that looks pretty cool!
 
 
2 hours later…
11:16 PM
@SaifEddinGmati someone I know has done...a lot with it
 
downloaded it, will look into it this weekend
 

« first day (4122 days earlier)      last day (809 days later) »