Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MP
magic_lobster_party @ magic_lobster_party @fedia.io
Posts
0
Comments
754
Joined
11 mo. ago

  • Now it was a great while ago I wrote anything in PHP. What icks me is the separation of concern. It has a tendency to cause code that’s concerned with logic and rendering at the same time. The act of moving a button can interfere with the logic, and it obfuscates how the entire website looks like.

    Maybe there’s better coding practices to ensure better separation of concern in PHP.

  • The main issue with PHP is that it’s designed for a pre AJAX web. Before when there was a real distinction between backend and frontend. The idea with PHP is that the server code is responsible of generating HTML on the fly.

    Server code generating HTML is icky in modern web development.

  • The point still stands. It takes a while to figure out how to repair something you have never repaired before. This assumes the person have the right tools at hand as well, and the correct replacement part.

    Compare with a factory worker. They have assembled the same microwave thousands of times. They got everything they need at hand.

  • It’s difficult to make real science based on anecdotal accounts. The best that can be done is some meta analysis, but that has its limits. There must be a systematic process to collect robust evidence (i.e experiments). Other scientists should be able to look at the same data and reach the same conclusions.

    Well, systematically putting people at near death and bring them back for questioning isn’t exactly ethical.

  • At least this madness is isolated to this function. It can easily be fixed.

    Pirate’s code is just cluttered with magic numbers everywhere. Hard coded numbers that are referring to a big ”story array”, or characters. It’s just a giant web of complexity. The only fix is to start from scratch.

  • I haven’t seen it be used to defend shitty compromises. An orphan crushing machine can never be good, so it doesn’t really apply.

    It’s more used in the context of creating something. May it be a novel, a drawing, a song or a game. Don’t get too stuck on trying to make every little detail perfect. It will burn you out eventually, and you won’t finish your project at all.

    It’s mostly about time management.