Hacker Newsnew | past | comments | ask | show | jobs | submit | sap1enz's commentslogin

Hey! Maybe I'm missing something, but why do you need to lock Kafka consumers? You can run multiple consumers within the same consumer group and get built-in high-availability (partition rebalancing when one consumer goes down)


Here's an example: functional programming. I think you agree that functional programming in general helps us write very concise, but at the same time, still readable code. It also can eliminate some bugs because of the immutability, laziness, etc.

Python does support functional programming, but it's not a primary way of doing things. By learning one of the Lisp-like languages you can better understand all the idioms you would use in Python to apply functional programming concepts better.

You don't need to necessarily add it to you projects at work, it can be as simple as doing an online course.


I am not disagreeing with you, and I use the functional aspects of Python a fair bit. As I said I don't think learning new languages is a bad thing. But I do see some devs that collect languages / frameworks like football stickers. If you are learning a new one every second month you won't have much depth to your knowledge in any of them.


True! :)


I was mostly focusing on entities (schemas). Is there way in Swagger to use something else except JSON Schema for those?


Actually not true :) You can write your docs using "description" field, it works in types, endpoints, query params, etc.

And the best thing - it supports markdown


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: