Should PHP and Java be compared? Who leads the race then?

Поделиться
HTML-код
  • Опубликовано: 18 окт 2024

Комментарии • 27

  • @Jelvix
    @Jelvix  Год назад

    It's time for you to decide where's the winner! What's your opinion on the topic? 😯

  • @fiskertoon
    @fiskertoon 2 года назад +29

    1. Java is more performant than PHP but PHP is faster in generating pages. Well, that simply means PHP and Java are both very performant in their specific cases.
    2. PHP can debug only print statements, and Java by all editors? What? What does it mean? Did you hear about xdebug?
    3. The multitude of packaging tools in Java ecosystem results from the nature of the language, it must be compiled and packed. PHP is interpreted language.
    4. Yes, PHP is dynamically typed. But also has advanced type system and many tools for static code analysis. You can choose how you want to write the program strictly or loosely typed.
    This video was made by person who doesn't really know PHP and only has knowlege about Java. If you are looking for good language comparsion, I recommend to look somewhere else.

    • @mathiasfantoni2458
      @mathiasfantoni2458 2 года назад +6

      As a PHP developer myself, I agree. The guy in the video doesn’t really know PHP.
      You can use types if you like. And just write your own security? I keep hearing people say “PHP is not secure” … are these people just really lazy programmers or what? Anything can be “not secure” if you write bad code. So just write good code and you’ll be fine lol. Security is not a problem with PHP.

    • @farandibrahim3261
      @farandibrahim3261 Год назад +1

      @@mathiasfantoni2458 PHP can do game developer? Just curious

  • @petergarcies4640
    @petergarcies4640 2 года назад +3

    Wow! Definitely wasn't expecting a whole detailed video

  • @helengeller1966
    @helengeller1966 2 года назад +3

    The more elaborate data-structures in Java enable quicker querying of the complex databases you find in a large corporation

  • @nicksimmons6222
    @nicksimmons6222 2 года назад +2

    It is the kind of video I have been searching for!

  • @jessicabrown5723
    @jessicabrown5723 2 года назад +3

    I like the explanation. PHP is rock-solid nowadays and one can write secure professional software

  • @alessapeterson4563
    @alessapeterson4563 2 года назад +1

    Wow! Definitely wasn't expecting a whole detailed video to answer my question)

  • @electricshmoo
    @electricshmoo 2 года назад +3

    I don't quite get the "PHP is not secure" statements... Java is also insecure if you don't know what you're doing. PHP8.1 is compiled on the fly and remains cached in memory - and outperforms Java in most cases. The only thing it doesn't do is native multi-threading, we use coroutines, fibres, etc.

  • @alexparker9557
    @alexparker9557 2 года назад +1

    I appreciate the thorough response on this.

  • @williamjones2128
    @williamjones2128 2 года назад +3

    Java have lots of libraries, it connects with about everything and it has the features businesses want.

  • @theambiencehive9326
    @theambiencehive9326 2 года назад +3

    Oh man, where do i start, many points in this video are just plain wrong:
    - Java is more secure: Wait what?? Ever heard of shell4j? Security is up to the developer and java allows for many pitfalls too..
    - Stability: Versions 4 and 5 were well, not the most reliable ones, but since php7 it has become rock solid, and much faster than the older versions
    - Performance: Java is more performant, but Php loads pages quicker? o.O
    - Documentation: We developers are lucky that there are excellent websites such as geeksforgeeks and w3schools, because the native documentation is awful for each one of them (at least i hate them)
    - Ease of learning: I would recommend Java for first-time learners, since php allows for some messy syntax, since you can program in a really clean way, cleaner than Java if you want (not as verbose), but you don't have to, you can simply open a

  • @jiminnovator1556
    @jiminnovator1556 2 года назад +2

    your videos are always informative and to the point

  • @emilyhill9421
    @emilyhill9421 2 года назад +5

    I'm learning php because they ask me a lot more in the world.

  • @monicasmith6007
    @monicasmith6007 2 года назад +2

    Thanks for sharing a video. Why do big companies use Java, and not PHP?

  • @OleksandrAndreiev
    @OleksandrAndreiev 2 года назад +3

    Everything about security is up to developers and DevOps engineers, so java can be insecure and php can be secure. Also I don't agree with debug statement, you can configure xdebug or other debugger. Also don't agree regarding the development speed, it depends on methodology and software type and it's not impossible to develop an enterprise with enterprise approach with php. Also development costs will be high with php if you have a team of strong professionals that are in touch with patterns, architecture and etc

  • @kenadams5371
    @kenadams5371 2 года назад +2

    Thanks so much for the effort, this is super informative!

    • @ZelenoJabko
      @ZelenoJabko 8 месяцев назад

      It's extremely wrong though

  • @garyedwards4531
    @garyedwards4531 2 года назад +2

    I like your explanation

  • @ernestsakala417
    @ernestsakala417 2 года назад +3

    I prefer java

  • @m3s69ll
    @m3s69ll 2 года назад +2

    Is everything ok with jelvix in Ukraine?

  • @vladimirrybakov7229
    @vladimirrybakov7229 2 года назад +1

    сразу видно, что человек делающий сравнение никогда не использовал php и даже не знает его возможностей

  • @Pavan_Gaekwad
    @Pavan_Gaekwad 4 месяца назад +1

    It's always gonna be Java

    • @Jelvix
      @Jelvix  2 месяца назад

      It's a match ❤️

  • @bettyrizzo6167
    @bettyrizzo6167 2 года назад +1

    I don't like java

  • @ZelenoJabko
    @ZelenoJabko 8 месяцев назад

    This was the most misinformative video I have seen in a long time