Fork me on GitHub
#clojure-uk
<
2016-05-07
>
gjnoonan10:05:55

What's everyone up to today?

agile_geek10:05:45

Sitting in Coffee shop watch Youtube video on 'Deep dive into Git'...sad aren't I?

gjnoonan10:05:23

im doing the same to be honest, although watching a talk on elm

gjnoonan10:05:39

is that the Is that the Edward Thomas one from GOTO?

agile_geek11:05:21

I find it very amusing that a guy working for MS is working on a MBP!

martintrojer12:05:06

I seriously want to go to one of @toxi http://thi.ng workshops. Looks awesome

martintrojer12:05:10

Just need to convince @yods now...

agile_geek16:05:02

@martintrojer: me too but I think I need a better biz reason than it looks cool to spend my money on it!

dharrigan17:05:26

A question. Say you are writing a little library that interfaces with an external service. If that call fails (for whatever reason), would it be reasonable to pass back a 'nil' to the callee, or some other value?

dharrigan17:05:39

The library could be used by anyone in any project.

dharrigan17:05:12

so, the principle of least astonishment would come into effect here.

dharrigan17:05:31

Unsure how it's done in Clojure-land, for in Java, you may throw an appropriate exception for the callee to deal with.

glenjamin19:05:15

dharrigan: for an external service, an explicit error is usually better