@thgs@phpc.social avatar

thgs

@thgs@phpc.social

Passionate (oddly?) and stuck with #PHP for quite a few years, although I have fallen for #Haskell and #assembly in the past.

Currently exploring and learning about #DDD, although I will always like a quick and aggressive "hack".

Always learning. Finding myself, mostly, at the tip of a contradiction!

Also a father, nowadays.

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

thgs, to php
@thgs@phpc.social avatar

Anyone built anything nice with lately and would like to share?

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

What error level are you running psalm ?

Edent, to random
@Edent@mastodon.social avatar
thgs,
@thgs@phpc.social avatar

@Edent I find that sort of normal, now, after a good amount of years in UK.

I had not experienced weather like UK's before, with quick successions of changes being the norm.

It is sort of interesting, to be fair.

thgs, to random
@thgs@phpc.social avatar

This is a test - please ignore

thgs, to php
@thgs@phpc.social avatar

For anyone interested and iff you want to know..

#PHP supported lexical closures and first class anonymous functions since 2009 with the release of 5.3.

https://3v4l.org/kCgaI#v5.3.0

Facts.. facts..

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

Which browser are you using at home?

thgs, to programming
@thgs@phpc.social avatar

What is a programming blog of preference that you keep reading and would recommend ?

thgs,
@thgs@phpc.social avatar

@scathach

Yea I have come across their work before

https://phpc.social/@thgs/111567767998357059

I found the really portable executable very inspirational.

I think those days I came across their work from my exploration of what is possible in the terminal.

thgs, to random
@thgs@phpc.social avatar

What's better than OpenAPI spec?

thgs, to FunctionalProgramming
@thgs@phpc.social avatar

Necessary reading for

Not sure what is the current state of things but as a technical, mathematical or analytical introduction to the concepts this paper is really hitting the spot.

https://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.pdf

oliver, to php
@oliver@phpc.social avatar

If you were about to start a medium-sized project, what would you choose as an , and why? It should be something stable and well maintained. If the business takes off, then there should be no need to replace that layer.

Caveat: imagine that Doctrine and Eloquent haven't been invented yet.

thgs,
@thgs@phpc.social avatar

@oliver

Who is going to use with this code? I think the answer to that will be fundamental.

Say you already have a team that proficient in using Doctrine, it might be a good idea to just do that.

If you don't have a team like that and what you really want is something that would not be an impediment, scope out the real needs, right now. I assume from what you say need a mapper of some sort and DBAL ? You could roll your own with say valinor for mapping or similar + optionally a DBAL lib.

thgs,
@thgs@phpc.social avatar

@oliver I mean.. the way you put it, the data mapper is only convenience probably. I think valinor supports stuff like nested levels that ocramius/GeneratedHydrator doesn't for example. Not sure 100% for either.

Personally, I would not consider writing my own data mapper, just for the sake of not losing time with the project.

Recently, I favour the notion of "first version is probably throw-away code" and just try to make it work. It all depends on what level you design things, I guess..

thgs,
@thgs@phpc.social avatar

@oliver Nevertheless, if you structure it well AND that layer becomes a burden in the future for whatever reason, because it is structured well you will be able to replace it easily.

In reference to hexagonal / layered architectures.

thgs, to emacs
@thgs@phpc.social avatar

Ok so NOW, I will learn

thgs,
@thgs@phpc.social avatar

@icedquinn yea remapping has been in my mind. I do use the right control sometimes, also been thinking about home row mods but havent figured it all out.

I've seen those a little bit, learning the basics without them still.

thgs,
@thgs@phpc.social avatar

@icedquinn @scathach

so much to explore and learn..

thgs,
@thgs@phpc.social avatar

@icedquinn it was somebody who I respected their opinion 🤔 forgot who it was though..

thgs,
@thgs@phpc.social avatar

@scathach @icedquinn

You use your palm to press Ctrl right?

thgs,
@thgs@phpc.social avatar

@icedquinn was it you telling me off about it? I was wondering who was telling me off in the past.

thgs,
@thgs@phpc.social avatar

@scathach @icedquinn

jokes apart using the palm gives a whole new perspective on the motor skill that is typing

thgs,
@thgs@phpc.social avatar

@icedquinn this looks interesting indeed. Will check it out. Im sold just seeing the example.

thgs,
@thgs@phpc.social avatar

@icedquinn evil-mode i feel sort of home, coming from vim.

thgs,
@thgs@phpc.social avatar

@meeper @icedquinn yea I mean, its just comfortable and within my habits of moving around text with the vim bindings.

Will checkout meow too. So many unknowns at this point

thgs,
@thgs@phpc.social avatar

@cenbe

Sir, I honestly felt that blessing deeply.

Jokes apart, so far so good, I think is actually the right tool the more I learn about it.

My first "project" is to make me an IDE like interface that will shorten the feedback loop while writing PHP.

I'm sure along the way will get lost and explore a million other concepts than only those relative to my target.

thgs, to random
@thgs@phpc.social avatar

Anyone else is micro-annoyed by the current of people using the term #livecoding in a very loose sense and instead of meaning "on-the-fly programming" it suddenly means "i code while i am on a live stream".

To be fair, I am not really annoyed, it is more that live coding is a different idea in nature. At least in my head, it's a registered definition..

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