« first day (3584 days earlier)      last day (1371 days later) » 
00:00 - 19:0019:00 - 00:00

12:51 AM
> $newscope. The class scope to which associate the closure is to be associated, or 'static' to keep the current one. If an object is given, the type of the object will be used instead. This determines the visibility of protected and private methods of the bound object. It is not allowed to pass (an object of) an internal class as this parameter.
Ugh, I must be tired because I'm not understanding why we'd ignore the scope when a $newthis is given. It's possible the bound $this and the scope are different for regular methods (parent::method for instance). Maybe that's unneeded for closures -- trying to think...
 
 
3 hours later…
Wes
4:00 AM
i cannot compute this sentence
The class scope to which associate the closure is to be associated
 
"to which associate" is weird wording
That whole sentence is bizarre
 
Wes
is it a verb or a noun
 
The class scope, to which associate the closure, is to be associated.
Very odd way of putting it though :S
 
It's either a noun, or a typo, and should've been associates...
It could still be a verb though...
When you have the native English speakers confused...
 
Even if it is technically correct, and that's far from certain, it's terrible writing
 
4:06 AM
I've noticed that American English tends to use fewer commas than British English, so almost makes me think it's an American English speaker, or it's some who's ESL, but is used to American English
@MarkR agreed
 
Wes
looks like they tried to write it in 2 attempts and they forgot to remove the leftovers of the first attempt
 
Probably
 
Wes
should be "the class scope to which the closure is to be associated"
 
@Wes I hate it when I do that >.<
 
Wes
or "the class scope to which associate the closure" i think they are equivalent, right?
the first one reads better for me but i know nothing
 
4:07 AM
Yeah, I try to do one last final read-through of whatever I'm writing to catch statements like that
@Wes it would have to be "associates" in that context though, and it would be a verb
"to which associate the closure" is clumsy writing
 
Feels like it's missing a "you will"
 
But using a "you" in technical documentation is frowned upon... though it depends on if it's formal or informal
If it's formal, it shouldn't address the reader
 
Is it? Then again I'm a programmer, I don't write a lot of documentation.
 
e.g. PHP documentation generally shouldn't have "you" in it
@MarkR don't you have a bachelor's? :P
 
Sure, a bachelors of engineering, not a bachelors of telling people how I'm doing it :P
 
4:12 AM
Yeah but, don't you have take general education courses, including English courses?
 
UK universities don't work like that, we don't take general subjects like in the US, it's entirely specialised on what you'd consider your major.
Something of a weakness IMHO
 
I'm jealous... though it's nice to have a rounded education... if the student pays attention, anyway
 
Once we get past 16 we start to specialise, 16 to 18 (college / 6th form) you typically do 3 or 4 subjects, a couple usually related to what you'll go onto at university for 3 or 4 years
 
I took English 102 and got a C in it, I think, because my reading comprehension is bad. I don't know wtf I'm supposed to infer from what an author wrote...
 
So for my A levels I did maths, physics, business and ICT (which I failed)
 
4:18 AM
Here, high school students can dual-enroll into college courses, and/or take Advanced Placement (AP) courses in high school which usually qualifies for college credit. I was a slacker in high school so any AP courses I took, I didn't bother with the AP exam.
But I did take a variety of stuff that I enjoyed
 
Once we get to uni we only had something like 16 hours of contact time per week if that... and the place I went, it wasn't very high quality
 
If I want to graduate with a college degree, I'm going to have to retake several courses because undiagnosed and untreated ADHD + full-time job did not mix well with part-time college courses
However, if college is all I have to worry about, I can make the Dean's list
I did that, once, because I was living with my mom and didn't have to work, so I could focus completely on studies
 
I learnt more from my side projects I worked on while at uni than anything I did while I was in class... I was the little shit who acted like he knew more than the staff and haxored the uni network etc
 
Lol
 
eugh I bleached my hair again at 3am, not sure how wise that was.
 
4:28 AM
I was generally too afraid of getting into trouble so I didn't push boundaries. But, I've learned more regarding web dev outside of school. I've said it several times, but I still like to brag about it... I learned HTML/CSS in high school, from a library book... high school didn't teach any web dev stuff, only compiled languages
It's funny though, in high school I wanted to be a game developer, I didn't think I could have a future in web dev cause in early '00s, there wasn't much of a job market for web dev... then millennials started graduating high school and college and the game dev job market became saturated, and web dev boomed
@MarkR I didn't know you bleached your hair... and dying hair at 3am sounds like a recipe for disaster
 
let me find my discord i'll send you a pic
 
hello everyone
 
Hi
 
i am php developer last 5 years . what about u guys
 
I've lost track. But I contribute to PHP docs. :3
FWIW, this room mainly has PHP core developers than PHP developers. Seems like there's more discussion regarding C lang than PHP
 
4:35 AM
Back wen' I were a lad, yer ad' to scratch yer' PHP openin' tags in t' dirt wit' end of a blunt stick. Envy'd mi boss, when e' were promoted' t' manager they gave 'im a pointy stick
 
4:53 AM
How would you compile that?
 
That's funny
 
 
5 hours later…
9:43 AM
morns
 
@hakre There's also this one, which is perhaps more standardized but less powerful: github.com/phpDocumentor/ReflectionDocBlock
 
 
1 hour later…
11:03 AM
@IluTov There's two separate bits. There's being able to reference things, though it is likely Levi's partial application idea would be better.
Though that doesn't allow you to reference instance methods of classes, which is the main thing people need to be able to do. e.g. every application that uses routing of paths to controllers has something like:
$app->get('/index', [HomePage::class, 'index']);
which isn't in there yet.
And separately there is being able to pass callables around as types... which if someone was to work on, that would be great!
 
11:18 AM
There's even a previous piece of work to start from, but didn't support the named type, only the inline version.
 
11:41 AM
@Danack Not sure if partial applications are technically better. If we did not have clashing names I'd definitely prefer takesCallable($this->methodName) over takesCallable($this->methodName(...?)). It also adds an unnecessary closure around the method call (not that that really matters for most applications).
 
 
1 hour later…
cmb
1:07 PM
@Wes see svn.php.net/viewvc?view=revision&revision=349649; I've done the same patch for ::bindTo() now. But I agree that this reads clumsy; anybody up to fix that? (might be worthwhile to introduce a reusable XML entity for that param description; not sure though)
 
1:32 PM
morning
 
cmb
morning
 
\o
 
o/
 
\o
 
is the added patch here just a spam? or is it linked to the wrong bug bugs.php.net/bug.php?id=79944
I can't tell, but it sure doesn't look related to my report
 
1:49 PM
its definitely irrelevant to your bug report, not sure about it being spam though.
 
yeah it feels like it's just a patch for another bug reported
 
cmb
2:02 PM
I have removed the comment about the PR, but can't remove the PR link.
 
alright thanks! maybe I should just leave a comment that it's irrelevant, to avoid potential confusion
 
2:24 PM
So I got a PHP and an nginx container. I want to serve my PHP app with TLS. Using mkcert I have a ca.pem, cert.pem and a key.pem. I can see how to specify the cert and key with nginx, but I can't see how to add the cert authority. Any ideas?
 
My suggestion is to save yourself the pain and front that / other containers with a separate NGINX instance with LetsEncrypt then proxy the back end containers
 
@Jimbo I used to have a Tomcat server once upon a time, I had to do some weird stuff packaging the cert parts together. Not the same situation, but may be similar.
I completely forgot I worked with Tomcat until looking through old notes yesterday, heh
 
I don't remember ever needing to add the cert authority into nginx itself, usually the local cert is bundled with the intermediate beforehand
 
That would be for normal certs, but self-signed requires the CA to be made available. Some software you can provide all three files, in fact many in docker, and you just mount them. But nginx only uses the OS trust store it seems
 
@Jimbo you can include the ca in the pem
 
2:33 PM
@bwoebi You mean concat the ca and the cert?
and then it's the equivalent of a fullchain.pem right
 
right
that's all what should be needed
 
noice, that's ideal, thanks
 
2:54 PM
@Jimbo fullchain.pem (or equivalent thing you are making) should contain the your cert and all intermediate certs, but not the root CA
assuming a trusted root, I mean
you can also include the private key in the same file if you want, though I personally never do that
 
@DaveRandom it's not problematic to include it though
 
using php wrappers in imagecreatefrompng causes segmentation fault ・ GD related ・ #79945
 
@bwoebi ssllabs tells you off for it, that's really about all I can intelligently say about that topic
I don't know if that's just for an imagined efficiency reason or something else
it's a very very long time since I've seen that particular warning, maybe it doesn't any more
 
OK, someone check my shell here, please.

find . -name "*.xml" \( -type d -name .git -prune \) -o -type f -print

That should be finding only files named *.xml, right? Then why if I pipe it to grep is it apparently still finding a whole bunch of png files?
 
Hi guys,
From many days I have question in my mind that why we use static call over object . I mean if static is saving memory then why use objects and why object takes much memory and to avoid memory overhead we use static ?
Basically when it is necessary to use self and when to use $this?
 
2:59 PM
@Crell not enormously helpful, but that's how I read it yes, I can't see why that wouldn't work as expected
 
Do the PNG files have "xml" in their name?
 
@Exception Honestly, there's rarely a meaningful difference between a static method and a standalone function, unless you're accessing a static property, in which case you're probably doing it wrong.
@Derick They don't appear to.
 
I don't know what -o does off the top of my head, what's that doing?
 
or
 
That's something to do with the prune part. (Which I got off SO.)
 
3:01 PM
so that sounds wrong
 
well, turns out I don't understand find nearly as well as I thought :-P brb 25 years
 
@Crell that sounds correct but what I heard is static are not bound to class like take an example of the mileage as a method. We just directly need to pass params from any distinct class and we get the output. Is that so?
 
@DaveRandom No one understands find...
 
yes, clearly I have just fallen off the precipice at the summit of Mount Stupid
 
locate FTW!~
 
3:04 PM
@Exception A static method has access to statically-scoped properties in the same class, but no $this. Otherwise it's practically the same as a function.
 
var_dump(!~FTW);
it's always false, nothing is true any more
 
class M { public static function mileage($distance, $gas) { return $distance/$gas; } }

function mileage($distance, $gas) { return $distance/$gas; }

There's no meaningful difference between the two, other than the first can be autoloaded.
 
(^ and has scope)
 
Then why it was a necessity to create static members OR even static concept in programming?
 
you're looking at it wrong
"bare" functions are static
rather than static functions being bare functions with extra cruft
they belong to different paradigms, anyway
(which is not to say you can't mix them sometimes)
 
3:09 PM
The history is long and complex and spans multiple languages and decades. :-)
 
in any case, static members have scope which is important, because it introduces the possibility of enforced private members
 
In practice, the only time I use static methods is for named constructors, which, due to quirks of PHP, have access to private properties of instances of self created within the method.
 
Otherwise, I generally view them as a code smell.
 
I will occasionally have some private member that is a utility routine which doesn't depend on state be static, mostly as a visual marker for the fact that it is stateless
 
3:12 PM
> private properties of instances of self created within the method.
Is has access to private properties no matter where it is created from
 
True but there's no implicit $this.
 
I know what he means
$result = new self;
$result->a = 1;
$result->b = 2;
return $result;
 
As for the find command, huh. Limiting it to .xml files seems to also have the effect of skipping .git as a side effect, AND then it works. So... I don't understand find, but this gets the job done.
 
where $a and $b are private instance fields
 
@DaveRandom Though I'd always use new static() these days.
 
3:14 PM
sometimes, depends
I might mark things final in which case I would use self
 
If it's final, then it won't make a difference either way.
 
indeed, so you may as well use the one that's unambiguously enforced
(imho)
I prefer it because it's explicit, basically
 
I'm glad you focus on that and not the elephpant's trunk!
 
looks like a trunk, :P
 
3:19 PM
this static vs this making me go crazy in terms of its use at any module.
 
don't use static, unless you know what you're doing (is basically how I understand it)
 
@Exception If you're not sure, just never use static methods for anything other than named constructors. It's a simple enough guideline and gets you to pretty clean code.
 
do you need to care about performance?
May 23 at 12:19, by IMSoP
@Exception search for advice about "micro-optimization" - in short, don't do it
 
If your site has tremendous traffic then every optimization counts and I am thinking static as a savior
 
3:21 PM
Remove one SQL query from your code base and that will do more for performance than converting everything to static calls.
 
you may be better off optimizing your JS than trying static calls, or ^
 
In the grand scale of things, there are way slower parts of the language than ->
 
reading wiki to find some logical difference when to use self and when to use $this en.wikipedia.org/wiki/Static_variable
 
Not really relevant to static methods in PHP.
 
@Crell named constructor are I guess deprecated from 7.0
Ohh
 
3:28 PM
class Distance {
public static function fromMiles($d) {
$new = new static();
$new->d = $d;
return $new;
}
}

That thing.
sigh I hate the lack of code formatting here.
 
@Crell ctrl-K
(if you're on Windows)
 
Linux.
 
I can't remember if the fixed font button shows up in the default SO client... I use a browser plugin
 
No, you guise. You don't unnerstan. ALWAYS USE SINGLE QUOTES! THEY'RE 1000000bajillionty times more fasterer than double quotes.
4
I do not have any "fixed font" button
 
even after multi-lines?
 
3:31 PM
Blah
Blah
 
foo
bar
oh, look, there it is.
 
Hm, OK, have to more type lines first.

I really hate this interface, have I mentioned?
 
Evidently I do have the button, but it's shy
 
@Crell yes, multiple times
 
/me mentions it again.
 
3:32 PM
now SO chat just needs to add the ability to ctrl-V images that I have copied to clipboard and I can get rid of SO Dark Chat
I don't even use it for the dark theme
 
Man I didn't expect to need to learn about IDE Hard Drive jumpers today lol
 
oh man... I remember having to do that with my first built PC... and it was annoying
 
I can't recall the last time IDE meant "hard drive" in my brain and not "PHPStorm." :-)
 
^
 
PhpStorm*
 
3:36 PM
My first built PC was a royal pain in the ass, and it soured my opinion of ever building another PC... I buy parts and ask a friend to do it. It's probably easier now.
 
My first built-by-me PC was a 286 10Mhz with.... I want to say 2MB of memory. I don't know what I thought I was going to do with that much RAM.
But I had TWO, count 'em TWO RS-232 serial ports and a parallel port ON THE SAME ISA CARD.
 
I mean it's not even a desktop PC, my Mum found her old HP notebook from 2004 rocking a Pentium 4 and it has a telephone line input :')
 
Pentium 166 MHz. I don't recall how much RAM.
 
I had an AMD Athlon something
 
The multi-function copier I bought a couple years ago has a telephone port on it as well (for faxes). I have no idea where I'd find a phone line though.
 
3:40 PM
it was one of their first 64-bit CPUs
 
Maybe I can get an ATA adapter and install asterisk on my file server.
 
We still got a phone line here as I live in the middle of nowhere
 
Oooooh.... I should connect it to one of my radios and send faxes over HF
I mean.. copier to ATA adapter, asterisk plugin to produce SSTV, audio out to radio. Done.
 
trying to remember the TV show where someone bought a fax machine and everyone else was like "why do you have a fax machine" and the plot device of that episode turned out to be the fax machine... the person happened to receive a fax and it saved the day, also someone was robbed, but left the fax machine
 
That sounds like a Seinfeld plot
 
3:42 PM
it does
something George's dad would do
 
Kramer would get a fax machine he didn't need.
"Hey Jerry! I just need to plug this into your phone line." "Why?" "So I can receive faxes?" "Why not your phone line?" "Then nobody would be able to call me! Think about it Jerry!"
Then throughout the episode, people call Jerry and there's a the screaming static on the phone line.
Hilarity ensues.
 
Okay.Right joke, wrong secondary party.
 
My first build was a 486DX, with a 33Mhz processor and 4G of RAM, and a 200!MB hard drive
 
My first build was an abacus, all ceased up with rust, 'ad to spit on it in mornin' to losen up the rods to be able to add two-un-two
 
3:48 PM
That was roughly our first PC, although it was custom built for us. I build almost all of them after the first one.
 
I went: 286-10, 386-SX-20, 486-DX2-66 (still have this chip), then a LONG stretch of laptops only, now this 9th Gen core i9 3.2Ghz
That 486 sat in my closet for a LONG time being a quiet little linux box acting as a nat gateway, web server, various other things.
Helluva trooper, pigeon was.
Does anyone remember "Metricom"? They sold these serial port modems that worked over some short range (< 2km) wireless signal. Only had coverage in a few major cities. 28.8kbps speed, but it was WIRELESS, man. I had that velcroed to the back of my laptop for use on the train every day. Then Pac-Bell had a big DSL outage that lasted days, so I plugged it into my router and ran the whole house off that link.
AND 28.8K WAS PLENTY
What were we going to do? Stream video? HAH!
 
I remember the first USB connected digital radios, could access the news without having to be connected to the phone line, was amazing
 
Of course, nowadays I literally have a hotspot in my /car/ ffs.
 
@DaveRandom unless its alpine linux :p where all teh things are true
 
I grew up on 56k :X
I had it easy
 
3:58 PM
LUXURY!
 
@Girgias lol @ "telephone line input" it's call a modem, you still have one, it just tends to live in your router these days :-P
 
I know, I was spoiled
 
When I were comin' up, we had to scrawl messages on a midget's back and chuck him over the garden wall.
 
no carrier pigeons?
 
@Ekin Eugh... I need to go and check if my email domain validation service has been missreporting all this time ._.
 
4:00 PM
14k4 was my first modem speed
 
CARRIER PIGEONS??? LUXURY! In my village all we had were a few rats we taped strings to and called 'em feathers.
 
lol
 
We used to write down and then chew them up and fire then at each other as spitballs out of McDonald's straws. Not sure if that was intended as communication or not.
 
@DaveRandom It's RJ11 right?
 
My first modem as a 1200, but 2400 was the standard by then. I got it from a neighbor who'd upgraded.
 
4:01 PM
that 14k4 line was more reliable than some other connections that I had though!
 
You had rats!? Posh bastard. Only the upper class got rats around these parts. Everyone else had to make do with training fleas to walk in rows of 8 and jump up and down
 
@Tiffany btw, this is what I'm referencing in case you're unfamiliar: youtube.com/watch?v=ue7wM0QC5LE
 
@Sara string? Luxury! Our dad used to make spend 26 hours a day weaving our own hair into cord to use as a pulley system for moving the rats around
 
this has gotten silly
 
Stop that, it's silly.
 
4:04 PM
This happens in Yorkshire more than you'd think
 
Btw I am at my gf's dad's house which is in Yorkshire, you won't out-yorkshireman me today
 
lol dave
 
I'm Yorkshire born and have lived here all my life :P
Checkmate.
 
Sure, but I have the advantage that I can go back to Lancashire at will
runs
 
Better run quicker. We don't want your kind around these parts.
 
4:06 PM
I don't even live in lancs, haven't for like 8 years
I'm from Cheshire, dontcherknow
 
@MarkR I'm sorry, could you repeat that? I couldn't understand a word you just said.
 
And lo, the burns did spill forth, and the people saw that they were sick, and they did praise the Lord
 
Have you ever been on Ilkley Moor without a hat?
 
@Derick you can get pills for that now
 
4:09 PM
@Derick Now that's a throw-back to school assembly songs that is.
 
I can't understand anything
 
@Sara where does that myth even come from that there would be a difference in lexing perf? Do people have statically defined if/elseif chain parsers in mind?
 
I'm in Halifax atm, some pretty wild country round here, I'll go get some pics in a bit
I think it's about to piss it down rn
 
I can drive about 5-10 minutes and be in cornfield country, or cow farms, or pig farms
 
Blue skies in Sheffield. Has been all day. I accidentally worked until 6am and decided the optimal solution would be to set up my hammock and sleep outside, which I did until 11pm, with my face burning off from the sun
 
4:12 PM
@MarkR @Derick Did you two connect about the podcast on naming things, btw? (I talked about it a little on ElePHPant with Cal.)
 
@MarkR how's the bleached hair? :P
 
@Tiffany Keeps getting in my eyes X_X
 
I want my bike :-/ came here in the car, it's a bit far to ride here and back in a day
 
get a bike rack for your car, problem solved
 
It'll go in the boot of a polo easily with the seats down so probably most cars, but not my car and with my misses and her son so no space and it would just have been me
In fact I should prob put my phone down and stop being rude :-P ttyl
 
4:16 PM
bike rack goes onto the back of your car
 
I know what a bike rack is :-P
I have one somewhere in my sister's cellar
 
so what're you talking about putting the seats down?
 
But I don't have a car atm anyway
Point is I don't actually need one, but it would have been inappropriate today
Anyway
Leave me alone :-P
(For now I mean)
 
@Crell I asked, but @MarkR didn't want to talk about something that was going to be declined, I believe
 
Gotcha, OK.
Speaking of, I should check its end date...
 
4:24 PM
Tomorrow
 
thumbsup.gif
 
But it's been "debated" and rejected twice now in two different forms in the space of a few months with very little engagement... it's a dead horse at this point, in true PHP fashion we will just have to wait for 5 - 10 years then realise we should have done it :)
Talking about it on the podcast won't help that
 
Fair. Just making sure you two had connected.
 
Yup. Thank you for all the effort you put into it all the same.
 
Hey, it got me some practice and hopefully street cred at least. :-)
 
 
1 hour later…
6:03 PM
hi, I am still learning PHP; when I look at this piece of code I have a feeling that there is some general rules that a person who presents that understands
would you maybe have an idea what these "rules" could be; like he creates this code and I am sure that there is some understanding of some concepts that he bases this writing (creation) on
it has to be, it seems
 
6:14 PM
@AndyRogers What is your question? I don't understand.
 
you would need to take a look at the code; I have a feeling that there is some general rules this person goes by, when writing this code; and I dont understand them
I just have a feeling like this; like he bases this writing on some knowledge; he does not create that out of thin air, at random
there is some knowledge behind it, it seems, and I am not sure what this could be; but I have a feeling that there has got to be
like "conditional statements are very common and they contain other stuff"
something like this, more general rules of the building blocks, type of thing
 
Are you trying to be philosophical? Anyway, this seems quite simple to me, there is nothing special about it, he is just creating some sql queries using prepared statements and some conditions. I don't know why he has both $id and $idGet one of them is redundant he could have just placed it near the top.
 
no, there is a reason for it, but I dont remember what it was
ok, thanks, I dont want to bother
I guess I need to keep watching about this stuff
I am still learning, something like 20 months done so far
 
20 months how much more?
 
and I know that PHP is not like the main thing now, it is more like #5 language, less popular
node.js, python, java script, react
 
6:19 PM
@AndyRogers react is not a language ffs
 
PHP is better than ever.
React a JS framework
 
I am not sure, I am going over something that somebody has recommended to me and then I want to do MVC / OOP (I have a course) and a Symfony course
yes, I want to do Java Script and React
after the PHP
I also dont understand how classes get created, when I write a script
it seems it has something to do with the MVC
like these classes are originating from that, or this redirection
I still dont understand like I write a blog and how do I come up with the division of classes for this
class user, class post, or whatever, class comment - I dont get how I create this
does it have something to do with the MVC
 
🤦
 
What ever happened to Teresko.
 
as someone who occasionally has trouble knowing how and where to start a project... if I can't figure out what to do first, I try breaking it into smaller parts, if I'm still having trouble understanding, I work on an easier project instead, and set the other project aside and come back to later when I feel more comfortable with the requisite ideas
 
6:28 PM
was this for me?
 
yes
 
ok
I am still biting into this
 
stop for a moment
think of something you want to make
 
kind of doing the procedural which is already not used, and the PHP itself which is like #5 language now, also the Symfony framework, not as popular anymore
kind of "old school" it seems
 
break the problem into smaller problems, and solve the smaller problems first
 
6:29 PM
but I am doing the PHP; I've heard that most web devs know it anyway
 
stop
 
I need to watch more courses / videos
it seems that there is some more general rules (procedural programming) that I dont understand
but this is ok, I dont want to bother
 
I need to watch, watch, watch
 
@AndyRogers I am going to have to ask you to stop, you have been warned before as well. If you have a specific question then go ahead and ask, but don't have a breakdown here.
 
6:31 PM
it isn't a conventional computer book
the examples are in Java, but a nice exercise is trying to turn the Java examples into PHP
 
still
ok, thanks, I will look into this book and I am leaving now, thanks
 
OK, I will also recommend this book "Design Patterns: Elements of Reusable Object-Oriented Software"
One of the greatest programming books ever written in my opinion
 
problem I have with GoF Design Patterns is most of it goes over my head because I lack the software development experience to understand what the design patterns are solving. Head First breaks it into simpler concepts and uses examples. The examples aren't exactly "real world" examples, but they're close enough.
and it uses A LOT of pictures
 
Yeah, it definitely requires a couple of readings, and you need to practice the concepts laid out in it to properly understand them, but it does provide a description of what the problem was and how it was solved, it is basically a collection of design patterns and it has good examples too.
 
I couldn't get past the first chapter of the GoF Design Patterns because I'd read a paragraph and go "wat"
granted, that was about two years ago when I was first nudging the idea of design patterns and had very little development experience, but I'm still afraid of touching it currently
 
6:39 PM
Oh you to finish projects.
I'm currently reading that book also.
 
Head First or GoF?
 
GOF
I have also read Head First Design patterns.
 
@Tiffany on the first paragraph? That doesn't make sense, because if I remember correctly the first chapter is about history, they don't discuss the exact DPs in that.
 
I found it easier to understand as well.
 
@mega6382 shrug, I just remember not getting very far into because it was hard to understand for me
it's not beginner friendly
 
6:42 PM
I also remember that they compare similar looking design patterns with each other, and describe which particular design pattern is better suited in which situation etc.
@Tiffany yeah, I guess you could say that.
 
Head First uses a lot of silly imagery, but it works
I'll find a page to show you
 
sure
 
it goes through the steps to explain why composition > inheritance
 
lol, got to say its quite funny and kind of gets the point across
and did you take these pictures yourself just now?
 
@mega6382 yes, Office Lens ftw
+ OneDrive
 
00:00 - 19:0019:00 - 00:00

« first day (3584 days earlier)      last day (1371 days later) »