try

Languages and libraries

language experiment

SHOW HN2014

29points
11comments
#1,005of 2,272 in 2014
Top 45%of 2014 by points

How HN took it

RoastedHalf or more of the comments are critical

2 positive, 0 neutral or asking, 1 mixed, 3 critical, out of 6 comments about the project. Thread score -0.20.

Idea: 2 for, 1 againstDesign: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Interesting to read and a fun hack

    From 2 comments
    • I found it interesting to read. Seems like enough reason to me. We aren't running out of bits.
      sanderjd on HN
    • Maybe he did it for fun. Hacks don't have to be useful. Brad Fitzpatrick provided a Go solution to goal (https://github.com/eatnumber1/goal). Ken Thompson used to write quines…
      PuerkitoBio on HN
  • Error-handling flow idea is appealing for large Go projects

    From 1 comment
    • This is very interesting. The difficulty in handling errors in large-scale golang programs is one of the primary practical issues I experience standing in the way of adopting it…
      heavenlyhash on HN

Objections

  • Non-idiomatic; Go deliberately omits exceptions

    From 2 comments
    • The usual response to this kind of thing among gophers is "don't do that", which is a reasonable response given that if the language designers thought Go should have…
      robert_tweed on HN
    • I'm truly not trying to be rude, but if you agree with the above point, then why did you make it publicly available? Only two outcomes can come of this: 1. Nobody uses it, for…
      dead10ck on HN
  • Finally is no cleaner than defer

    From 1 comment
    • I don't see how finally (especially with the unusual order) is much cleaner than defer. That's the main advantage of defer: the idiomatic way to use defer is right after the…
      koenigdavidmj on HN
  • Cannot return from the try function

    From 1 comment
    • limited usefulness - can't return from the trying function. incidentally, try/finally and returns are what gives people funny facial expressions.
      baq on HN

Requests

  • Combine try-style flow with typed errors

    From 1 comment
    • This is very interesting. The difficulty in handling errors in large-scale golang programs is one of the primary practical issues I experience standing in the way of adopting it…
      heavenlyhash on HN

Questions

  • Why publish an experiment the author says shouldn't be used

    From 1 comment
    • I'm truly not trying to be rude, but if you agree with the above point, then why did you make it publicly available? Only two outcomes can come of this: 1. Nobody uses it, for…
      dead10ck on HN

Alternatives named

  • Go defer with local functions

    From 1 comment
    • The usual response to this kind of thing among gophers is "don't do that", which is a reasonable response given that if the language designers thought Go should have…
      robert_tweed on HN
  • spacemonkeygo/errors library

    From 1 comment
    • This is very interesting. The difficulty in handling errors in large-scale golang programs is one of the primary practical issues I experience standing in the way of adopting it…
      heavenlyhash on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/8179237)