Fork me on GitHub
#off-topic
<
2019-07-17
>
jaihindhreddy11:07:02

How well does Python play with Kafka as opposed to Clojure? Kafka seems like the right fit to solve a problem at work, and most of our people use python.

vemv02:07:26

JVM langs have a superior kafka integration. the C wrappers are bound to have issues, those projects having a much more acute bus factor

dmaiocchi12:07:36

In python you don't have a repl and interactive environment

dmaiocchi12:07:59

If you shoiud motivate your team I would emphasize on this. A part also that the risk is that in python people endup to overload and create objects for nothing

dmaiocchi12:07:57

Also for code Quality I would pickup clojure, Kafka should have both libs.

dmaiocchi12:07:18

Most of the time, I would argue people pickup python for just do the most hack in quick way as possible. So in long-term imho you have poor quality over speed etc. Imho is not really a tech question but rather a company culture etc

clj 12
dmaiocchi12:07:01

From experience, writing python code is extremely difficult. You have basically no constraints on the language. Writing clojure code with quality is less difficult because of the constraints

mpenet13:07:01

I guess it depends on what you will do with the data more than anything. python/clojure both have good (and probably similarly performant) clients to interact with kafka otherwise. python vs clojure (at large) is another debate

clj 4
ngelwan18:07:28

I find that because python is so flexible, writing it within the bounds of a set of (perhaps implicitly-defined) idioms, and doing so with discipline, is almost a similar experience to trying to speak eloquently in english. When I do a good job-- my code runs well and I've got a really consistent sort of colloquialism-- I'm always pretty proud of my work.

👍 8
dmaiocchi19:07:51

Yep agree. Although honestly I don't see any advantage with accessing data with python

dmaiocchi19:07:49

I mean comparing the clojure way with destructoring etc. In python for read a file you wanna create some objects and do a parser

dmaiocchi19:07:49

Then you have other objects, I mean to mee all this objects Tangled everywhere for just data is more a cognitive load

dmaiocchi21:07:13

thx for sharing