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

help-circle
  • TheBeege@lemmy.worldtoProgrammer Humor@lemmy.mlPHP is dead?
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    All of that can be the same as other stacks except the Apache bit. You can stand up a Go application on Ubuntu hitting MariaDB as its persistence layer. Or Python. Or Node. Or Java. Or even Ruby. Shit, Haskell can do it.

    Also, exec is a code smell. Arbitrary code execution is a massive security risk, and the effort to mitigate that risk is often less than explicitly building out the required functionality.

    I think you need to explore more technologies, my friend. And read up on some security things

    Edit: I now realize you mean exec as in calling out to a shell. All languages have this. Still, the overhead of spawning and managing a new process is often more than just implementing the logic in your application itself.



  • That’s because PowerShell blurs the line between programming language and scripting language. By accessing the entire .NET library, of course it’s going to have more features than a basic scripting language that relies on open source utilities installed on the system.

    The reasons people hate it are because they hate Microsoft, it breaks from traditional shells too far, and it’s a pain in the ass to type (verbose). To use PowerShell effectively, you almost need to write full software programs. At that point, just use C#.

    As for you preferring it to Python… I think you don’t know Python. I’m trying to come up with every way possible to make PowerShell sound better than Python, and I got nothing. Maybe you don’t like whitespace? I cannot understand your point of view here. Help me out