literal icon indicating copy to clipboard operation
literal copied to clipboard

Starting over

Open joeldrapper opened this issue 1 year ago • 3 comments

Literal is full of so many half-baked experiments. These experiments have taught us a lot about what’s possible. I’m creating a branch called legacy, which will be locked to the current state of main. If you’re using literal from git in your project, you should point to that branch for the next few months.

After that, I’m going to be ripping everything out and starting again, using the legacy branch as reference. This time, I’m only interested in implementing fully tested, documented features. Nothing half-baked.

The initial focus will be on:

  1. Types
  2. Attributes
  3. Structs
  4. Data Objects
  5. Unions
  6. Enums

joeldrapper avatar Apr 24 '24 11:04 joeldrapper

That focus list is perfect (maybe with the addition of Literal::Decorator). We were actually considering forking literal to accomplish exactly this.

Let me know how we can help ❤️

hangsu avatar Apr 24 '24 19:04 hangsu

Thanks @hangsu! ❤️

Literal::Decorator makes sense to include with this. 👍 I want to get this fully documented with 100% code coverage before moving on to other stuff. Some of the other stuff may never make it back in.

joeldrapper avatar Apr 25 '24 00:04 joeldrapper

Some of the other stuff may never make it back in.

I like the idea of literal being focused on type checking and related conveniences.

If you wanted to expand to monads, memoization, etc. I think a separate gem would make sense. It's easier for me psychologically to buy in to a more focused, cohesive project (like Phlex 😉).

hangsu avatar Apr 25 '24 01:04 hangsu