Fork me on GitHub

Is this channel for clojure-site issues, or should I use some other slack channel?

Alex Miller (Clojure team)16:03:08

you can use this or #C055UK572

Alex Miller (Clojure team)16:03:28

really filing an issue should happen on the github repo ideally but you can discuss here if desired

Alex Miller (Clojure team)16:03:54

since this chat goes away, the github issue is better for persistent discussion


ok.. Just wanted to check if the guide idea is something you might accept simple_smile


@alexmiller: I can see two different approaches to this kind of guide: Type hinting in general (what it is, what it does, how, syntax etc.) or a more “pragmatic” guide specifically targeted at resolving reflection warnings (how to check for reflection, how to decide if its worth resolving, how to use javadocs to find the correct type, how to type hint arrays and primitives etc.). Not sure which approach is preferrable


@jonas: if you plan on writing a guide on type hints, I offer myself as additional reviewer simple_smile


@bronsa: thanks simple_smile I like these new guides and would like to contribute somehow. If I were to write something on this topic I would prefer the second idea (focusing on resolving reflection warnings) and I would definitely need review help!

Alex Miller (Clojure team)16:03:07

I think the guides work best when they are oriented around how to do things, so I agree with the latter

Alex Miller (Clojure team)16:03:23

it may also be useful to have more of the former on the java_interop page

Alex Miller (Clojure team)16:03:38

I keep forgetting to @jonas sorry


@alexmiller: reading through that page Note that type hints are not needed for static members (or their return values!) as the compiler always has the type for statics


that seems wrong to me


either that or I'm not understanding what it's trying to say

Alex Miller (Clojure team)16:03:52

dunno, that pre-dates me working on it


ok, I'll open a ticket then


@alexmiller: great! I will try to write something over the weekend and see how far I get