8
gauty79
4y

Just foodie things :
repeat: {{ Keep code and have food }}

Comments
  • 6
    Oof I don't like checking for negatives when there's an Else block anyways. Hanging this up on my wall would trigger me every time I'd see it
  • 20
    If you stomach is null, you have bigger issues than pizza
  • 5
    When you eat pizza:
    NullPointerException: you're fucked
  • 0
    Why is it posted on a piece of velvety napkin?

    Or, maybe that does make sense.
  • 6
    Someone needs a peer review before merging that to production.

    God help the poor user that finds the null stomach branch.
  • 2
    Cringe, wrong tag...
  • 4
    I'm pretty sure that these cringy programmer-speak-merchandise-thingies are either made by non-programmers or just god-aweful ones, the likes you'd immediately fire after their first code-review.
  • 1
    if self.stomach == missing_entirely:
    orderPizza()
    else:
    dont()

    Traceback (most recent call last):
    <main>, at line 1:
    if self.stomach == missing_entirely:
    <main>, at line 2:
    orderPizza()
    orderPizza(), at line 237:
    raise RuntimeError("stomach must be present before orderPizza() is called")
    RuntimeError: stomach must be present before orderPizza() is called
  • 1
    All of you complaining about the null stomach: Just be glad it isn't functional programming. As then eating would entail creating a clone of you with pizza already in it.
  • 0
    @k0pernikus

    @highlight
    val me: Person = _
    me.stomach
    .filter(_==pizza)
    .getOrElse(0)
    .zipWith
    (delivery)
    (_.2.order(_.1 * phoneNumber))
  • 0
Add Comment