I don't mind `#:`, but I'd prefer to write `[#:foo 5]` rather than `#:foo [foo 5]`, that is, I don't like the repetition of the name (I first came to Racket precisely to avoid repeating code).
When I expressed that a few years ago, I was told it would be unlikely to change in the future though, which is perfectly understandable given how deeply this goes. On Wed, Sep 19, 2018 at 1:15 PM Christopher Lemmer Webber < cweb...@dustycloud.org> wrote: > I am wary of this. I really don't have a strong preference either way, > my suspicion is it's mostly "what did you become famliar with initially" > kind of thing. :keyword is more Common Lisp'ish, #:keyword matches > other Schemes I've used. > > But: > - I'd rather not have *two* keyword syntaxes in Racket at the same > time. > - But removing #: from the language would break tons of packages. > - Maybe if #lang racket2 ever happened that would be a good place for > this, and the ability to have multiple #langs allows us to survive > an upgrade easier than say, the Python 2 to 3 upgrade was (which I > was in the trenches for, and was a decade long headache). > Let's try to avoid breaking things that exist currently, anyway. > - It's such a small cosmetic change I don't see why it's worth it. > If it bothers you a lot, there's a #lang path. > > My $.02, > - cwebb > > Neil Van Dyke writes: > > > I recall multiple discussions about colon keywords over the many > > years, but (it's 5am) temporarily forgot that Jay did a poll 3 years > > ago. > > > > Jay's results summary quoted and linked below. > > > > I think 3 years means it's time to go from these results, to either > > changing Racket, or expecting "preference #langs" to become more of a > > thing. (Again, from a software engineering perspective, I'd > > discourage "preference #langs"; but, from a love of programming > > perspective, I'd understand.) > > > > > > Jay McCarthy <jay.mc...@gmail.com> wrote on Thu, 22 Oct 2015 13:43:50 > -0400: > >> It has been a little more than a week and we've stopped getting results. > >> > >> The full results should be publicly available. Here is a summary: > >> > >> > https://docs.google.com/forms/d/1HSwtxLhz5HWGMJjMXaO8LQyHJsdMkGbBlRa4fU7Sa34/viewanalytics > >> > >> and here is the raw data: > >> > >> > https://docs.google.com/spreadsheets/d/1rZNNGwupMZTybxKRhukLdgA8VIA8oPlQ7nPk8Gv52Es/edit#gid=348615477 > >> > >> My interpretation of the data is as follows: > >> - The #:keyword syntax is liked fine with a rating of 5.67 > >> - The :keyword syntax is more loved with a rating of 6.9 > >> - But change is not popular, average of 5.1 with high standard deviation > >> - People that really like #:keyword do not want a change and do not > >> like :keyword > >> - People that really like :keyword want a change > >> > >> I am genuinely surprised :keyword saw so much support and that > >> change was so attractive to people. > >> > >> Naturally whenever you do stuff like this, you want to ask more > >> questions, like what about keyword:, what about supporting both, > >> etc. > >> > >> Jay > > https://groups.google.com/d/msg/racket-users/3vOTC1FbieA/UsifvfWtBgAJ > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.