Skip to content

Last Week in Pony - January 28, 2024

More fun than a trip to Buc-ee’s.

Items of Note

New Pony Pattern

A new Pony Pattern “Static Constructor” has been added.

Lori Joins The Ponylang Organization

Sean T. Allen’s Lori project has become a ponylang org project.

Its new home is

The plan is for it to someday provide the functionality of our standard library TCP classes as well as a set of drop-in replacement classes so that it can be moved into the standard library.

Interested in help? Drop by the Zulip’s ‘contribute to Pony’ stream and let’s chat.

Pony Development Sync

Audio from the January 23rd, 2024 sync is available.

We had a short agenda. Most of it was spent discussing the new Constrained Types RFC which underwent some naming revisions as a result.

Office Hours

We have an open Zoom meeting every week for the community to get together and well, do whatever they want. In theory, Sean T. Allen “owns” the meeting and will often set an agenda. Anyone is welcome to show up and participate. Got a Pony related problem you need help solving and prefer to do it synchronously? Give Office Hours a try. The meeting is open to anyone. Stay up-to-date with the schedule by subscribing to the Office Hours calender. Hopefully, we’ll see you at an Office Hours soon.

Adrian and Sean talked about grapefruit. If you had shown up and asked some Pony questions, we would have talked about Pony. If you had shown up and asked “does dynamic scoping have an undeserved bad reputation”, we would have talked about dynamic scoping. But you didn’t so here we are.




New RFCs

Community Resource Highlight

We like to take a moment in each Last Week in Pony to highlight a community resource. There are many community resources that can go unappreciated until just the right time when someone hops into the Ponylang Zulip asking a question or facing a problem we have all had at one time or another. Well here in Last Week in Pony, we make it just the right time to highlight one of our excellent community resources.

This week we are going to draw our attention to the new “Static Constructor” pattern. This pattern is one that you can use if you want to construct objects that may fail construction or return a helpful error upon failure. By default Pony constructors either return a fully initialized instance of their class or, if the constructor is partial, fail completely via error handling. If instead we want insight into why construction failed we should use the new “Static Constructor” pattern!

Last Week In Pony is a weekly blog post to catch you up on the latest news for the Pony programming language. To learn more about Pony, check out our website, our Twitter account @ponylang, or our Zulip community.

Got something you think should be featured? There’s a GitHub issue for that! Add a comment to the open “Last Week in Pony” issue.

Interested in making a change, or keeping up with changes to Pony? Check out the RFC repo. Contributors welcome!