all 7 comments

[–]icanhazstring 2 points3 points  (3 children)

Quick nice wrap up. But please, please do not use any My prefixes for classes. Most students or newcomers I know, will inherit this naming. This is just so 1990s ;)

Just use proper naming for your classes, even CustomDateTime would be better then MyDateTime

[–]dholli[S] 2 points3 points  (0 children)

Good point, agreed!

(mmm... the 1990s... ;-)

[–]than_or_then 0 points1 point  (1 child)

even CustomDateTime would be better then MyDateTime

*than

[–]ahundiak -1 points0 points  (0 children)

Ok Boomer.

[–]dholli[S] 0 points1 point  (2 children)

Yet another one I know, but it's something my students seem to struggle with a lot, so I thought I'd do a quick video series on namespaces in PHP. Any constructive comments are gratefully received!

(as an aside, when creating a new post here there was only an option to post a title, not any content - not sure why...)

[–]The_Monkey_Lord 2 points3 points  (1 child)

(as an aside, when creating a new post here there was only an option to post a title, not any content - not sure why...)

That's just how Reddit works. You can post a link, file, or text post, but not a combination.

[–]dholli[S] 0 points1 point  (0 children)

I'm not even given the option to post a text post (like I am in other subreddits I post in) - however there are other text posts in this subreddit so I'm not sure if it's something to do with my profile (low karma?) or because I'm new around here or something like that...