Fork me on GitHub
#off-topic
<
2017-04-16
>
john00:04:03

@seancorfield DIdn't know about it. I'll check it out! thanks.

tagore00:04:12

Naming is ridiculously hard

tagore00:04:38

And I have yet to read "elements of clojure"

sveri06:04:59

When I write code, I try to imagine that whenever I read the code later, I want to have the feeling I read a book. The names have to make sense, they have to have the correct meaning and the have to follow a red line throughout the code. With this in mind, naming still is hard, but at least I have a measure afterwards.

qqq07:04:48

This is why I recommend languages like APL / Forth. When you don't have variables, you don't have to name them.

mobileink18:04:20

qqq: ah, but you still have names, they're just more complicated. lambda and combinator expressions are names.

fellshard08:04:23

Pointless Point-free code can be a joy.

qqq09:04:58

Joy is Point-free. 🙂

sb13:04:40

Hi Guys, I used nginx, but we can't use nginx plus (lot of money). What is the best option for a load balancing system? Eg if reach 80% of server process > wake up new or later shut down a server

sb13:04:54

At nginx plus that is possible via API

qqq14:04:45

@kwladyka @matan : I recommend the videos.

qqq14:04:00

It's where logic programming finally made sense fo rme.

matan14:04:22

you mean core.logic or some other clojure library?

qqq14:04:32

I was trying to learn how to implement prolog / core.logic / logic programming langauges

qqq14:04:41

and those tutorials really explained it

kwladyka14:04:51

@qqq thx for the link

mobileink18:04:20

qqq: ah, but you still have names, they're just more complicated. lambda and combinator expressions are names.

mobileink18:04:43

2nd Rule: minimize the number of syllables and dashes.

mobileink18:04:27

3rd Rule: decide between branding and descriptiveness.

mobileink18:04:07

I think "leinengen" is one the best. It's unusual, so memorable and unlikely to be confused with anything else (branding), but it has a good backstory that ties it conceptually to what it does (eliminate Ant).

firstlast18:04:08

I actually resent the name. It’s very unintuitive … even for an english speaker .... making it hard to remember and type .... more confusing due to the multiple ‘e’ and ‘n’ s in the word

mobileink18:04:11

shrug. can't please everybody. :)

qqq01:04:48

yeah, its one of the reasons I switche dto boot

qqq01:04:24

from simplest to hardest to type: qqq, boot, firstlast, mobileink, leinin*#R*#$#

mobileink18:04:19

4th Rule: avoid unpronounceable strings. I hate company/product names that start with "X", especially when followed by a consonant - Xlomicity, Xmeckis, Xiomi, etc.

mobileink18:04:17

5th: don't call it "foo-clj" unless it's a straightforward clojure wrapper of foo.

mobileink18:04:14

there are people who get paid lots of $ to come up with product names (which is really what a lib name is). https://mobile.nytimes.com/2015/01/18/magazine/the-weird-science-of-naming-new-products.html

firstlast18:04:21

I’ve started ‘Mad Men’ recently and this looks like basic copywriting

tagore21:04:30

@mobilelink I'll confess to some bad naming policies when it comes to my cats. Not quite as bad as "Cat," but I have two named "little boy" and "little girl." In my defense, they were strays born in my yard that I did not intend to keep so I didn't want to give them names that might make me more attached to them. By the time it became clear that I would not be able to give them away the names had stuck.

tagore21:04:42

I have two other cats, named "Mackerel" and "Orange Person." People tend to find the latter amusing, for some reason 😉.

mobileink21:04:06

@tagore: true story: my grandmother called my father "boy" and his sister "girl". kept things simple, i guess.

mobileink21:04:54

you have cats. that's enough.

mobileink21:04:58

we have "booger" (she gets eye and nose and butt boogers all the time) and "chibi" (a japanese term of endearement.) but "you f***ing cat!" also works.

tagore22:04:10

Ah- my cats have Japanese names for when they go to the vet. Little Boy is "Ben" (short for musashibou benkei) and mackerel is "yoshi" short for "minamoto no yoshitsune." Little girl is "Meg," short for Megumi, because it is a miracle she survived her kitten-hood. "Orange Person," on the other hand, is just "Orange Person."

qqq23:04:10

Why has Eiffel / contract-programming never taken off?

tagore23:04:29

It's extra work 😉