Fork me on GitHub
#clojure-dev
<
2016-03-30
>
jonas16:03:35

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

jonas16:03:51

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

jonas16:03:04

@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

bronsa16:03:11

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

jonas16:03:17

@bronsa: thanks simple_smile I like these new http://clojure.org 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

bronsa16:03:04

@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

bronsa16:03:24

that seems wrong to me

bronsa16:03:42

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

bronsa16:03:09

ok, I'll open a ticket then

jonas17:03:05

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