Fork me on GitHub
#clojure-uk
<
2017-01-11
>
reborg09:01:18

Jรณ reggelt

benedek09:01:11

reborg just found his inner hungarian!! parrot

reborg09:01:13

new rule: good morning in the language of the chap above you ๐Ÿ™‚

benedek09:01:45

Buongiorno

meshy14:01:03

Bonjour ;)

thomas14:01:35

style question for you.... is there a max to the number of if-like statements in a single function (if, when, if-let, when-let, if-not etc.)

thomas14:01:14

I am looking at function with 7 at the moment... and I find it very confusing

mccraigmccraig14:01:59

@thomas i tend to reach for one of the conds or caseas soon as i get 2 of them

thomas14:01:29

makes sense.

thomas14:01:15

this code base feels very bloated... lots of long complicated functions. lots of if's let's and anon functions... all nested.

tcoupland14:01:43

rule of three: as soon as you have three of a thing, do something else ๐Ÿ™‚

thomas15:01:39

good idea... maybe one day I can refactor the code ๐Ÿ˜‰

glenjamin16:01:36

my limit is usually indent-driven, and nested if statements cause indents

thomas20:01:16

I think one has the same end result.