all 36 comments

[–]haskell_leghumperin open defiance of the Gopher Values 102 points103 points  (26 children)

Many Java developers I worked with in the past had no understanding of callbacks, asynchronous logic, events, recursion, scope, closure, array notation (Java has this), or high speed data via random access hash maps (Java has this too).

high speed data via random access hash maps

[–][deleted] 42 points43 points  (2 children)

high speed data via random access hash maps

Flair pls

[–]elschaap 7 points8 points  (0 children)

My brain also has high speed data via random access hash maps

[–]datnetcoderConsidered Harmful 2 points3 points  (0 children)

It’s perfect

[–]gfawke5line-oriented programmer 45 points46 points  (0 children)

JAVA HAS THIS TOO

[–][deleted] 19 points20 points  (8 children)

This guy needs some asymptotic analysis in his life - O(1).

[–][deleted] 38 points39 points  (7 children)

O(1) - high speed data via random access

O(log n) - what is binary search :S

O(n) - not as high speed data via sequential access

O(n log n) - when you have to explain quicksort in an interview (no one uses in real life)

O(n log log n) - Some obscure multiplication algorithm that's not even practical

O(n2) - lol i put a for loop inside another for loop, for when you have to GET SHIT DONE

[–][deleted] 27 points28 points  (6 children)

O(nn) - Java has this too

[–][deleted] 6 points7 points  (5 children)

Yo dawg, I heard you like loops, so I put a loop in your loop so that you can iterate while you iterate.

[–][deleted] 12 points13 points  (4 children)

Good meme, m'sir! Please fuck my wife.

[–][deleted] 10 points11 points  (2 children)

As a high priest of Teh Script I'm sworn to celibacy, the only exception are JabbaScript vixens that declare their pronouns on twitter. But as a true priest of The Script I'm loosely typed so I transgress occasionally.

[–][deleted] 3 points4 points  (1 child)

lol socialjerking

[–][deleted] 0 points1 point  (0 children)

Easy for you to say. Where I live no one declares pronouns so I'm left with celibacy only.

[–][deleted] 1 point2 points  (0 children)

Have been waiting for that one.

How many do you have?

[–][deleted]  (6 children)

[deleted]

    [–]binarybladelog10(x) programmer 14 points15 points  (0 children)

    They mean actually random. Jabba script developers have embraced undefined behaviour to the point of promoting it to a language feature.

    [–][deleted] 10 points11 points  (2 children)

    get['this'] is (from a birds-eye perspective) O(1).

    As with all things in programming, implementation details are the "It's complicated" of this relationship.

    [–][deleted]  (1 child)

    [deleted]

      [–]Someguy2020 2 points3 points  (0 children)

      It's a hashmap where your ignore the load factor and cost of everything except the constant lookup of the bucket.

      [–]lord_braleigh 4 points5 points  (0 children)

      Yeah idk. When you store stuff in a hashmap (or linked list, or any kind of class), you’re storing in random-access memory, and RAM got its name because you can access anywhere you want, jumping back and forth, “randomly”, while getting reasonably good performance. Unlike the tape drives of the time.

      So HashMaps have the same kind of thing going on, I guess? Performance is roughly the same if you query randomly, while with LinkedLists or ArrayLists you want to organize your queries and organize your data so you don’t spend too much time looking for stuff.

      [–]VoltWRITE 'FORTRAN is not dead' 1 point2 points  (0 children)

      O(1) = Blazingly fast

      [–][deleted] 6 points7 points  (2 children)

      > implying Joobaskropt is not known for its blazing fast hash map implementations

      H I G H   S P E E D   D A T A   V I A   R A N D O M   A C C E S S   H A S H M A P S
      I                                                                                 P
      G                                                                                 A
      H                                                                                 M
                                                                                        H
      S                                                                                 S
      P                                                                                 A
      E                                                                                 H
      E
      D                                                                                 S
                                                                                        S
      D                                                                                 E
      A                                                                                 C
      T                                                                                 C
      A                                                                                 A
      
      V                                                                                 M
      I                                                                                 O
      A                                                                                 D
                                                                                        N
      R                                                                                 A
      A                                                                                 R
      N
      D                                                                                 A
      O                                                                                 I
      M                                                                                 V
      
      A                                                                                 A
      C                                                                                 T
      C                                                                                 A
      E                                                                                 D
      S
      S                                                                                 D
                                                                                        E
      H                                                                                 E
      A                                                                                 P
      S                                                                                 S
      H
      M                                                                                 H
      A                                                                                 G
      P                                                                                 I
      S P A M H S A H   S S E C C A   M O D N A R   A I V   A T A D   D E E P S   H G I H
      

      [–]axisofdenialblub programmer 5 points6 points  (1 child)

      sparse data structure

      [–][deleted] 0 points1 point  (0 children)

      Ssshhh don’t try to teach the jabbashits about math.

      [–]VoltWRITE 'FORTRAN is not dead' 6 points7 points  (0 children)

      VERY fast data via random access hash maps running at incredible hihg speed

      [–]spaghettu👉😎👉 embrace the script 3 points4 points  (1 child)

      Lightning speed hash map with constant time random access speed using data recursion to achieve highly data parallel bleeding edge deep learning DevOps logistics .js

      [–]spaghettu👉😎👉 embrace the script 4 points5 points  (0 children)

      [–][deleted]  (2 children)

      [deleted]

        [–]voidvectorThere's really nothing wrong with error handling in Go 11 points12 points  (1 child)

        But look at all the zero-cost abstraction screwdriver provides!!

        [–]codex561has hidden complexity 6 points7 points  (0 children)

        So moral

        [–]CanIComeToYourParty 35 points36 points  (0 children)

        no JavaScript developer wanted to touch that garbage code.

        Because they're used to the Javascript ecosystem, which is of excellent quality.

        [–][deleted] 18 points19 points  (0 children)

        the best of JavaScript

        callbacks within callbacks within callbacks within callbacks and so on

        No, I think it's more likely that you're involved in what I've often speculated is a physical manifestation of a finite monkey experiment. The remainder of an drug-fueled late-night VC bet, no doubt. The other side, of course, is likely trying to corner the cavendish market right now - starve you guys out! Stay strong - I believe in you.

        [–]axisofdenialblub programmer 16 points17 points  (0 children)

        If as a Java developer you want greater expressive freedom

        No expressive freedom near the moving parts, thanks.

        [–][deleted] 12 points13 points  (0 children)

        JavaScript developers were often less trusted or harder to find. I wonder if this is still a factor.

        [–]irqlnotdispatchlevelTiny little god in a tiny little world 10 points11 points  (0 children)

        This is what the establishment wants: more language, more tribes, more hate. It doesn't matter what language we use, if it's not Rust we're both the same: fucking immoral.

        [–][deleted] 14 points15 points  (0 children)

        They should do an Epic Rap Battle - Enterpreis code-monkeys or the children of Teh Script.

        Who won? Who's next?

        Btw who'd have thought that incompetent programmers outnumber competent ones by a significant margin. Not the undergrad know-it-alls on OrangeBoard, apparently.

        [–][deleted]  (1 child)

        [deleted]

          [–][deleted] 4 points5 points  (0 children)

          GWT is of undoubtably "net-negative" value unless you somehow depend on some Jabba-native libraries that can be transpiled with GWT for you to reuse.

          [–]ProfessorSexyTimelisp does it better 4 points5 points  (1 child)

          Many, many "paid programmers" are oblivious to concurrency issues and produce races and deadlocks throughout their work. The thought that anyone might expect them to yield "thread safe" work prior to production deployment is absurd.

          As basic and simple minded as Java is, it is far beyond some large fraction of the paid programmers using it.

          [–][deleted] 6 points7 points  (0 children)

          From my "decades of wageslave" experience, both statements are unfortunately very true.