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

CLIs are the new programming language. I think we should design them like a language


I’m a person living with ALS. I am trying to build something similar for myself https://github.com/sonnes/september


Nice. Stick a licence on that and join https://www.openaac.org/


https://blog.khanacademy.org/statically-typed-context-in-go/

i found this to be a good approach for injecting dependencies, especially when the methods implement an interface


Don't create a custom context type. This will make it more difficult to interop with any other library that uses the normal context.Context.[0]

Furthermore, why is that code using string keys for the context? It's recommended in the context package documentation that context keys should always be an unexported type, so that the key can never collide with a different key.[1] It's common to define accessor functions which are type safe

[0] https://google.github.io/styleguide/go/decisions.html#custom...

[1] https://pkg.go.dev/context#WithValue


Agreed, custom context types don’t work for libraries.

But, i am finding them useful in building a pipeline composer similar to https://www.reddit.com/r/RedditEng/comments/z137m3/from_serv...


I am happy to help/pitch in for the Redis support. Let me know, if you would like to collaborate.


I'd love to get help with Redis. I don't know anything beyond the absolute basics, so it'd really be useful if someone with more experience give lend a hand! If you'd like to discuss, please add your input here: https://gitlab.com/commento/commento/issues/75


Futter for Android/iOS and any JS stack for web

And use Firebase or Firestore as the database. It's super easy to build a simple MVP app with just Firebase SDKs


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: