Fork me on GitHub
#off-topic
<
2018-07-13
>
xtreak2902:07:20

Guido steps down as BDFL. With clojure being one of the most friendly communities it's a gentle reminder to be nice and kind in the discussions with contributors. Rich has played a significant role in keeping Clojure simple and hope our discussions stay polite. https://mail.python.org/pipermail/python-committers/2018-July/005664.html

😡 28
4
borkdude07:07:34

Guido is 62. What age is Rich btw?

yen09:07:12

The whole drama around the assignment expression operator in Python that led to GvR stepping down makes me appreciate macros more. The ability to introduce new syntax as a library without touching core is certainly a strong plus for Clojure (and most lisps)

πŸ‘ 48
βž• 4
val_waeselynck14:07:57

Quoting Stuart Halloway: "additive innovation via libraries"

jsa-aerial14:07:38

Certainly true, but this is even worse - the scoping rules mean you will now be able to mutate long distance variables in nested expressions ... Maybe that was why it is so controversial.

jsa-aerial14:07:38

Certainly true, but this is even worse - the scoping rules mean you will now be able to mutate long distance variables in nested expressions ... Maybe that was why it is so controversial.

mpenet14:07:28

well some things are better implemented at the core language level for other reason, like adoption

mpenet14:07:48

ex very few use stuff like core.match (or pattern matching libs in general), even tho it's (arguably) quite good

jsa-aerial14:07:01

To tell the truth, I'm not much of a Python fan - I tolerate it when I need to, but I don't like it all that much. Certainly something to reach for before perl though.

☝️ 4
mpenet14:07:07

lightweightness has other advantages

eggsyntax14:07:55

Python certainly isn't my favorite language, but on the whole I'd choose it over anything else in the TIOBE top ten (modulo problem-specific needs like performance).

jsa-aerial14:07:55

In general, I would take Ruby over Python - but I don't know what is in the top ten. And it would also depend on the task

eggsyntax15:07:06

Current top ten is Java, C, C++, Python, Visual Basic .NET, C#, PHP, JavaScript, SQL, Objective-C. (not that TIOBE is perfect by any means, just the 1st thing I thought of)

jsa-aerial14:07:45

The scoping n Python is almost as crazy as R

jjttjj14:07:14

how do people feel about wrapping a REST api in the following manner. The api is all GET endpoints, such as /pets/{pet-id}/ and /pets/{pet-id}/owner-history?range=1year. I want to just extract the params from the endpoint url and combine them with query params in a map. then use the param-less url as keyword, and make calls in the following manner:

(my.api/q [:pets {:pet-id 23}])
(my.api/q [:pets/owner-history {:pet-id 23 :range "1year"}])

eggsyntax15:07:06

Current top ten is Java, C, C++, Python, Visual Basic .NET, C#, PHP, JavaScript, SQL, Objective-C. (not that TIOBE is perfect by any means, just the 1st thing I thought of)

jsa-aerial15:07:35

Yeah, that looks pretty broken - there is no way in the world that JavaScript is not 1 or 2. That should be a real red flag to the TIOBE people to look into what they are doing wrong

Alex Miller (Clojure team)15:07:41

your periodic reminder that TIOBE is garbage

Alex Miller (Clojure team)15:07:00

it’s just nonsense around google hit count

eggsyntax15:07:34

🀷 had it been anything serious I would have gone looking for something better πŸ™‚

eggsyntax15:07:03

TIOBE's only advantage is that it's the only one I remember off the top of my head 😜

Alex Miller (Clojure team)15:07:32

the red monk ratings that combine stackoverflow with github are (while flawed), far better imo

πŸ‘ 16
Alex Miller (Clojure team)15:07:39

thoughtworks actually has some proprietary reports that combine things like those with surveys of private companies and proprietary code bases

πŸ‘ 8
cvic15:07:45

woah, cool!

Alex Miller (Clojure team)15:07:49

which I think is even better

Alex Miller (Clojure team)15:07:23

depending what question you’re trying to answer

eggsyntax15:07:28

So @jsa-aerial the redmonk one does include ruby in the top 10: JavaScript, Java, Python, PHP, C#, C++, CSS, Ruby, C, Swift

eggsyntax15:07:50

It was just "how good/bad is python compared to other top-10 langs."

jsa-aerial15:07:07

Well, that certainly looks more reasonable. They should still filter out stuff like CSS and SQL though, that's just noise for something like this

☝️ 4