Ad
  • Custom User Avatar

    Idk renis, your ego seems to be a bit bigger then it needs to. I just looked at your solution and it is hard to read and follow, its just one big block of code and also strings are hardcoded. I mean nothing catastrophic but best practices wise having to change code in 2 places to change "A good fight" for example is not 'best' (problem only grows with the growth of code).

    Blind4Basics code on the other hand I really like. It's so easy on the eye and as far as I can tell follows all the modern Java conventions. Everything camelCase, consts are upper with underscore, everything is properly marked as final or private, code blocks and logic blocks are nietly separated. That is a code of somebody I would be happy to work with on single codebase.

  • Default User Avatar

    I mean you need to get some basic knowledge of how code should look, and how naming should be done. I guess you never made any projects, just wrote small max 100 lines codes for long as you started programming.

  • Default User Avatar

    Oh damn, you are truly delusional.

    1. I can grasp more whan you could.
    2. My structure is way more well structured, functions are WAY BETTER constructed, your getters for example you even put 3 tabs and then some spaces just to make all functions be in the same level as the longest function name for no reason at all. Your battle() function looks just utterly ugly.
    3. Probably you learned this "nice structuring" from languages like python which is the one of the ugliest most unstructured languages.
      Anyways this shows that rank doesnt show person competence and skills at all.
  • Custom User Avatar

    Let's face it, your only problem with my code is just that you're not competent enough to grab the way it's written. Your code, is a total mess, on the other hand:

    • there is no overall structure. Nothing is standing out, all functions are sticking together, and it's impossible to see where a function begins or end when looking at your code.
    • almost everything is hardcoded. In mine, all the outputs are abstracted away => mine <=> easy for change. Yours <=> where the fuck do I need to put that change???

    When you try to put arguments like this, at the very least back up your positions. You don't like my style? Ok fine. But you don't seem competent enough to judge what is best practice or not, sorry.

    Edit: btw, if you're arguing about the way I name my variables, clean up your own code first: you're using C# conventions about curly brackets, not java ones.

  • Default User Avatar

    and what if you are a master? Your code still looks like a mess, from what i see here, and variable names definitely not named good.

  • Custom User Avatar

    Dunning-Krüger master...

  • Default User Avatar

    this is definitely not best practices, nor clever, learn how you need to name your variables, and fix the all the mess in code looks like trash.

  • Default User Avatar

    my solution is definitely better than this.

  • Default User Avatar

    i'm still getting that issue...