Ad
  • Custom User Avatar

    Are you understanding "not writing code like a compiler" as "you're authorized to write shit code with the worst time complexity ever just because you use high level functions"?? :o

    ofc not. ;)

    Performance is good, but the present people are talking about micro-optimizations, only. In most of the cases, those aren't needed. The complexity of the solution is good. Unless you're building a "bank application" or so, needing ultra-fast operations, it's pointless to optimize more than it's already.

  • Custom User Avatar

    I disagree with this: high level does not mean you can't try to optimize your algorithms. Efficiency may not be necessary for some purposes but this does not involve you should not try

    And you may write un-optimized code in any language, C included

    However, the answer is interesting because it indicates another way of coding

  • Custom User Avatar

    The main interest in using a high level language (well, is really java a "high level language"...? more than C or C++ for sure) IS to use high level functions so that you don't have to think like a compiler. That's supposed to be the job of the compiler, not yours.

    If you wanna have a superoptimized-ultraperformant code, don't even use Java, go directly for C.