• 0 Posts
  • 946 Comments
Joined 9 months ago
cake
Cake day: September 27th, 2023

help-circle

  • I understand your pain - the real reason for that is that PHP was the first “hobbyist” programming language so a lot of self trained folks built websites that ended up slowly morphing into successful businesses.

    One of the things I’m actually most proud of from the PHP community is that around 5.2 the maintainers looked around and saw sites like Quora and StackOverflow were littered with the worst fucking PHP advice endorsing functions like mysql_query and ill-advised features like magic_quotes so the community invested a lot of resources in purging answers that preached anti-patterns and replace them with non-terrible answers.

    I work in PHP and it’s perfectly serviceable now, we’ve got strict typing, namespaces, lambdas, all the nice shit you’d expect in a modern language.











  • Most parliamentary systems also allow snap elections - there is usually a maximum length allowed before the next election but the PM can always call one earlier.

    This has happened pretty frequently up here in Canada and Trudeau will time elections after good news if the LPC polling particularly strongly.

    I think this is an overall good thing, it means that as long as a party is delivering success about once every four years it can remain in power - while allowing it to do the unpopular but necessary things in the interim. A hated party can’t survive in power, but a party that invests in the long term can thrive… it does have a dark side though. The party in power may engage in frivolous bullshit before the election (like unproductive handouts) to try and sway public opinion. It’s up to the public to see through short term bullshit and judge a party more long-term.