Stream: ideas

Topic: ✔ Emoji names for functions, variables, etc


view this post on Zulip jan kili (Oct 27 2024 at 05:35):

Brendan Hansknecht said:

"...you're kidding, right?"

No no no, trust me, it's better for you, by changing all code into emojis it enables all people regardless of literacy to understand

Heyyyy so I unironically really want to try making a whole codebase where all function+variable names are emojis. Anyone know a helper tool or happy path for preprocessing something like .rocji files to .roc, or should I just write a Roc app to do that for me?

Or should I submit busted PRs for first-class support and start making enemies? :laughing:

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:37):

Pretty sure I haven't seen anything like that, but it would be funny, do it u wont

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:39):

There might actually be some value in creating an official tool that can generate Roc from a JSON AST, I think there's gonna be a lot of codegen for interfacing with systems given that there's no planned support for macros

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:40):

If we had that, then we'd maintain some kind of jsonschema that was tied to a version of the language

view this post on Zulip jan kili (Oct 27 2024 at 05:40):

Does anyone already have a use case they want that is blocked by not having that today?

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:41):

But I don't know:

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:41):

I don't think so?

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:42):

There are projects that could benefit from that, such as:

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:43):

But as much as it would be an improvement over generating the code by hand, Roc's syntax is simple enough that I don't expect this would be a priority

view this post on Zulip jan kili (Oct 27 2024 at 05:47):

Fun idea! I'm :happy: to :hammer_and_wrench: it if anyone's :drooling: for it.

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:48):

I think a good path for exploring this would be:

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:50):

(My timing on my tab macro is too long, and it's on the letters L and D...)

view this post on Zulip jan kili (Oct 27 2024 at 05:53):

Makes sense - for the emoji names use case alone, this should just be a trivial find-and-replace though.

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:54):

Yeah, for emojis only, it'd be a much more specific and simple tool

view this post on Zulip jan kili (Oct 27 2024 at 05:54):

I did love jsonschema in 2018 though

view this post on Zulip Sam Mohr (Oct 27 2024 at 05:57):

I've not used it much myself, I just suggest it because it seems like a popular standard. Do you know of anything better?

view this post on Zulip jan kili (Oct 27 2024 at 05:58):

I think I made a project proposal at my cloud job about using jsonschema to configure databases or something

view this post on Zulip jan kili (Oct 27 2024 at 05:59):

I haven't thought about it (or any alternatives) since

view this post on Zulip jan kili (Oct 27 2024 at 06:02):

Nice to meet you, by the way :grinning_face_with_smiling_eyes: I'm Jan - I've been away from Roc for a few years

view this post on Zulip Sam Mohr (Oct 27 2024 at 06:03):

Hi, I'm Sam! I've been working on it proper since about April, but I've been looking at it for years

view this post on Zulip Sam Mohr (Oct 27 2024 at 06:03):

I've definitely seen you around though, and I'm sure I'll continue to see you around :smile:

view this post on Zulip jan kili (Oct 27 2024 at 06:04):

Looks like we joined this Zulip the same week. I hope so! I'm planning to write some software synth music this winter, and I'd love to use Roc over Haskell or JS if the young ecosystem isn't a blocker.

view this post on Zulip Sam Mohr (Oct 27 2024 at 06:05):

That sounds awesome! If there's anything blocking you, I'm not the only tinkerer that'd be happy to help make your dreams a reality

view this post on Zulip Richard Feldman (Oct 27 2024 at 12:12):

oh hey Jan, great to see you! :smiley:

view this post on Zulip Notification Bot (Feb 18 2025 at 19:22):

JanCVanB has marked this topic as resolved.


Last updated: Jun 16 2026 at 16:19 UTC