• 0 Posts
  • 32 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle



  • Slotos@feddit.nltoMildly Infuriating@lemmy.worldForm over function, eh?
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    3 months ago

    In the dark, with the other side obscured (or just broken), you don’t want the blinker to actively prompt you to come to a wrong conclusion.

    It’s better to see a blinking light and think “I don’t see enough, gotta slow down” than see a blinking arrow and potentially not even realize it’s a turn signal.














  • Slotos@feddit.nltoProgrammer Humor@lemmy.mlPHP is dead?
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    8 months ago

    Problem is, you’re mixing a number of different concepts into a nonsensical claim.

    Exec as an “execute a string as a language instructions” is nothing new nor unique to PHP. Ruby on Rails, for example, uses it in a controlled manner to generate methods on ActiveRecord models.

    Exec as an “replace this process with another process” is old news again. It’s not even language specific.

    Popen/spawn family (which seems to be what you alluded to) is, once again, nothing new and is used everywhere.