Comment

Comment by Estragon

  > There are some people who appreciate games that are very abstract and with
  > simple rules from which complex behavior emerges, such as a game like Go.
I love Go, but I despise perl. Perl is not built on "very abstract and simple rules. For instance, this code is quite hard to reason about:

    1: my @to-infinity-and-beyond = 0, 2 … ∞;
    2: say @to-infinity-and-beyond[1008];
    
    # OUTPUT:
    # 2016
This is self-indulgent mucking around. An inference procedure which goes from "0, 2 … ∞" to "the even-nonnegative integers" is bound to lead to unpleasant and hard-to-debug surprises.
parent Estragon 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton