@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, 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."

#PHP #Kotlin #Programming

Crell, to Ukraine
@Crell@phpc.social avatar

Remember: Every mile of land lost by #Ukraine this month to Russian invaders is the direct result of #GOP 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, , this really is a gotcha, and a stupid one at that.

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

Crell, to til
@Crell@phpc.social avatar

#TIL: @leanpub now lets you add a Mastodon account to your author profile. Neat! I've done so, and removed my Twitter account.

(While you're over there, buy my book. :-) )

https://leanpub.com/thinking-functionally-in-php

#PHP #Writing

Crell, to random
@Crell@phpc.social avatar

I mean... elder Millennials might remember it, vaguely?

Nah, probably not...

Crell, to Kotlin
@Crell@phpc.social avatar

and are lightyears better than for , at least in the quality of their output. It actually reports something useful, unlike KTLint.

Dear flipping god, how do people work with tools this bad?

Crell, to random
@Crell@phpc.social avatar

How good, caring people became the bad guys...

https://www.okdoomer.io/thebadguys/

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