Is PHP ugly?

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 24

  • @hosterplus
    @hosterplus 4 місяці тому

    Sehr interessantes Video, Lionel! 👏 Deine Ausführungen zur Flexibilität und Modernität von PHP sind sehr aufschlussreich. Besonders die Beispiele zur Verbesserung der Lesbarkeit und zur Verwendung von Blöcken statt geschweifter Klammern zeigen, wie vielseitig PHP sein kann.
    Eine Frage hätte ich: Wie siehst du die Zukunft von PHP im Vergleich zu anderen modernen Programmiersprachen? Glaubst du, dass PHP seine Relevanz behalten wird, oder siehst du andere Sprachen auf dem Vormarsch? 🤔
    Freue mich auf deine Antwort und weitere spannende Videos! 😊

  • @hebermachel4117
    @hebermachel4117 5 місяців тому +1

    Excellent content, Mr Lionel.
    I live in Brazil. I am a medical student and I would like to create a study platform (webapp) focusing on science and mathematics (high school level) with 500-1000 simultaneous accesses.
    Is it possible to create this web application with a wordpress plugin? (built from scratch)
    If so, how scalable is Wordpress and what precautions should I take?
    If not, what php solutions should I use.
    I know a little bit of html, css, js, and php.
    I apologize for any writing errors. I'm still working on my English.

    • @lionelthetechlead8839
      @lionelthetechlead8839  5 місяців тому +1

      I recommend you start with an agile process. Pay someone to do mock ups via figma of your idea and ask people if they will 'pre sign up' with a google form. You'll then get a feel about the demand of your product and the next stages.

    • @hebermachel4117
      @hebermachel4117 5 місяців тому +1

      @@lionelthetechlead8839 A viability study is required. you are right. I made the mistake of thinking that because so many people had already contacted me with the intention of taking classes with me, that this would be enough to justify a website. Thank you very much.

    • @lionelthetechlead8839
      @lionelthetechlead8839  4 місяці тому +1

      @hebermachel4117 just mvp is enough. Can you deliver something manually over Google drive that they will pay for. If yes then start!

  • @youaskforit
    @youaskforit 5 місяців тому +1

    I refresh 2x, finished the video and refreshed once more. I still get 720p. Pls upload in higher quality.
    Anyway, just a minor correction on the string interpolation. It's not new. It's been there for a while. You can just do it a couple of ways.
    ie. "Read the file $file_name" or "Read the file {$object->file_name}"

    • @lionelthetechlead8839
      @lionelthetechlead8839  5 місяців тому +2

      Hum... I only saved it as a standard quality assuming most people watch it on their phones. Will save it next time in HD if you guys want to see the code.
      It's been around since 7x, but to all the PHP haters who give examples of messy code, IT IS NEW to them otherwise they would show case it. The {$file_name} is an example of how you do not have to use the dot concat with strings.

  • @budiardjo6610
    @budiardjo6610 4 місяці тому

    thanks for advocate this.

  • @turnbrain3049
    @turnbrain3049 4 місяці тому +1

    If php is ugly then all C style languages like c++, c#, java and javascript is ugly too.

  • @aiamfree
    @aiamfree 4 місяці тому

    IMO, Code is as readable as a dev writes it, the language has nothing to do with it

  • @carlo7800
    @carlo7800 2 місяці тому

    Just paused to say fu with your nokia 3210 The. Wtf dude

  • @skavihekkora5039
    @skavihekkora5039 5 місяців тому +1

    If php is ugly then js is unsightly. Anyway php is best for web, it's a tool and only in this context comparisons make sense. It's tailor made for smes and startups. Serious people know that, it needs no defence imho.

    • @lionelthetechlead8839
      @lionelthetechlead8839  5 місяців тому

      This is a mistake I made assuming that those in the know will tell other people. Perception is reality and you can brainwash people just by repeated saying the same untruth. There are countless dev, investors, co-founders and startup people who make this judgement without even trying it out themselves. That's why I'm here!

    • @skavihekkora5039
      @skavihekkora5039 5 місяців тому

      @@lionelthetechlead8839 I think you be more useful teaching architecture for sme and startup like solutions, hints on decision making for php related tech stack on such projects, etc, sharing senior experience and helping others to grow.

  • @thommccarthy1139
    @thommccarthy1139 5 місяців тому

    It's kinda ugly but that doesn't bother me. I do hate stuff like this '->' which is not the quickest keystroke for grabbing nested stuff within an object etc. '.' is fine for this purpose.

    • @lionelthetechlead8839
      @lionelthetechlead8839  5 місяців тому

      yeah... too bad we already used the 'dot' for concating strings. On the flip side we don't use the + to concat strings which can be a bit confusing as it adds numbers in PHP and 1 + "1" is also 2... :P

    • @thommccarthy1139
      @thommccarthy1139 5 місяців тому

      @@lionelthetechlead8839 yeah just wish it was a single character, for as much as you need to grab properties it is fatiguing. I don't write php every day so I'm sure I would get used to it but it's enough to annoy me when I need to use the language. Otherwise it's a great and productive lang.

    • @lionelthetechlead8839
      @lionelthetechlead8839  5 місяців тому

      @@thommccarthy1139 yeah, if it really get up there you could try binding a shortcut to a single character and then tab to create the ->

  • @mnchabel8402
    @mnchabel8402 4 місяці тому

    honestly, PHP was the easiest programming language to learn. C++ the hardest.

  • @macverishe3480
    @macverishe3480 2 місяці тому

    Has anyone seen a non-trivial/real-world python application? It's so messy and horrible with just indentations, its like spaghetti code if it is a ton of lines, don't get me wrong I do not dislike Python (it has its place in simple apps) , but PHP is way more readable to me.

    • @lionelthetechlead8839
      @lionelthetechlead8839  2 місяці тому

      The variables don't have any identifier and the tabs without brackets do make it harder to read. But a major issue is just how you include files

  • @airaction6423
    @airaction6423 4 місяці тому +1

    Sure php is ugly. Putting functions inside variables or using nonsense lambda like this is the future:
    let multiply = (a, b) => a * b;

    • @nimmneun
      @nimmneun 4 місяці тому

      funny enough though ... you can do $multiply = fn ($a, $b) => $a * $b; in php
      ... well at least you can add types in php "natively" $multiply = fn (float $a, float $b): float => $a * $b; 😅