@Crell@phpc.social avatar

Crell

@Crell@phpc.social

Anything worth doing is worth doing well.

Anything worth doing well is worth teaching others to do well.

Author of Thinking Functionally in PHP, now on LeanPub: https://leanpub.com/thinking-functionally-in-php

#tootfinder

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Crell, (edited ) to random
@Crell@phpc.social avatar

I don't normally post personal updates, but I'll make an exception in this case...

If anyone wants to help out by getting something off of our baby registry, I'm sure our soon-to-be daughter will appreciate it. My wife and I will. 🙂

https://www.amazon.com/baby-reg/shayna-garfield-september-2024-evanston/193F6I7T7V5H6
https://www.babylist.com/list/baby-shayna-g

Crell, to CrystalsHashtags
@Crell@phpc.social avatar

Seems like a good time for someone to write an article summarizing all the Free Software alternatives to #Adobe's suite...

Graphics people, now is your time. Seize it.

#Adobe #Photoshop #AI #GPL #FreeSoftware

Crell, to random
@Crell@phpc.social avatar

I mean, not wrong...

Crell, to php
@Crell@phpc.social avatar

I've just tagged a new release of Crell/Serde, version 1.2.

This release includes support for Unix timestamps, makes TypeFields more flexible and customizable, and fixes an issue with handling null values. Note that the latter fix has a very small BC break that only impacts a select number of custom Importers, so odds are you won't notice.

Get it while it's hot!

https://github.com/Crell/Serde

Crell, to random
@Crell@phpc.social avatar

When you say what a word "means", what do you mean by "mean?" It's actually not a trivial question.

https://peakd.com/language/@crell/bounded-vs-centered-sets

Crell, to random
@Crell@phpc.social avatar

Inheritance has is uses and advantages!

... But oh boy does it add a lot of gross complications to the language.

Crell, to random
@Crell@phpc.social avatar

When you say what a word "means", what do you mean by "mean?" It's actually not a trivial question.

https://peakd.com/language/@crell/bounded-vs-centered-sets

Crell, to random
@Crell@phpc.social avatar

If you're looking for subversive literature, try the Banned Book of the Week:

https://dp.la/news/introducing-the-banned-book-of-the-week

Crell, to security
@Crell@phpc.social avatar
Crell, to Java
@Crell@phpc.social avatar

Oh. My. Fucking. God.

I have just learned that "#Java Bean" has two completely different and incompatible definitions.

One is a dumb, badly designed data object with getters and setters.

The other is... a service object managed by the Spring framework IoC container.

Holy hell. This is 10x worse than #Laravel "facades."

Am I wrong here? This is what I'm finding from online tutorials. Is there more nuance that is not coming through, because for now I just hate #Spring even more.

#Kotlin

Crell, to random
@Crell@phpc.social avatar

Whoever decided that bad standards are better than no standards never had to use them...

Crell, to random
@Crell@phpc.social avatar

I of course have not verified this at all, but it's just dumb enough to be true.

Crell, to random
@Crell@phpc.social avatar

I'm hanging out with a group of under 10 year olds. They insist on listening only to the Backstreet Boys.

I guess the kids like Oldies.

Crell, to random
@Crell@phpc.social avatar

How Judge Cannon is undermining the case against Trump.

https://youtu.be/v1rTtbQJuTI

Crell, (edited ) to php
@Crell@phpc.social avatar

Hey . When you use union and intersection types, do you include spaces?

(RT for reach, etc. This is survey data for @phpfig. If you know of any official policies by major projects already, please note/link in the replies.)

Crell, to random
@Crell@phpc.social avatar
Crell, to random
@Crell@phpc.social avatar

This does not give me confidence in this kitchen...

Crell, to random
@Crell@phpc.social avatar

"It's a DTO so it shouldn't have methods, just data" is an excellent way to end up with procedural spaghetti with a class keyword floating around.

It certainly won't get you a good codebase, that's for sure.

Crell, to random
@Crell@phpc.social avatar

When people complain about being just an over-engineered mess of indirection, they don't mean OOP. Just the Java ecosystem.

Crell, to random
@Crell@phpc.social avatar

The one and only thing I like about Macs is that they're not Windows. Other than that, I despise these things. The UI has always been awful.

Crell, to random
@Crell@phpc.social avatar

I hate mocking libraries...

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

Crell, to Ukraine
@Crell@phpc.social avatar

Remember: Every mile of land lost by this month to Russian invaders is the direct result of intransigence and refusal to stand by our allies just so they could make Biden look bad.

Every Republican legislator is a threat to national security. Every. Single. One. Treat them as such.

Crell, to python
@Crell@phpc.social avatar

No, #Python, this really is a gotcha, and a stupid one at that.

https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines