Thanks Raul ________________________________ From: Programming <programming-boun...@forums.jsoftware.com> on behalf of Raul Miller <rauldmil...@gmail.com> Sent: Saturday, December 9, 2023 1:49:03 PM To: programm...@jsoftware.com <programm...@jsoftware.com> Subject: Re: [Jprogramming] Advent of code newbie
It does accomplish the same thing, and is more concise (and, thus, for many people (though not all) easier to read). That said, I would keep in mind that the AoC puzzle framework encourages quick solutions and throwaway code, and many of the implementations are going to favor a low investment of development time over polished design. Thanks, -- Raul On Sat, Dec 9, 2023 at 8:45 AM Richard Donovan <rsdono...@hotmail.com> wrote: > > Hi. Just dipping into Advent of Code for the first time. > > Firstly, I find the colour scheme very difficult to read and wondering if > it's changeable? > > Secondly, looking at the J wiki solution for the first ever AOC in 2015, the > very first problem is solved by (in effect) the following code: > > +/ 1 _1 +/ .* '()'=/test=:'(((()' > > Which works fine, but I'm wondering if > > -/+/"1 '()'=/test=:'(((()' > > doesn't do the same thing and (for me) seems easier to follow? > > NB. J wiki link Essays/Advent Of Code - J Wiki > (jsoftware.com)<https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcode.jsoftware.com%2Fwiki%2FEssays%2FAdvent_Of_Code%23Part_1&data=05%7C02%7C%7C13e5424748624c4b241408dbf8bdae69%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638377265800560799%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1uBIQtsSaqyjLHeWz35VnI5PP%2Bjej7bNOoAw%2FfRthdc%3D&reserved=0> > > What am I missing? > > Thanks > ---------------------------------------------------------------------- > For information about J forums see > https://gbr01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&data=05%7C02%7C%7C13e5424748624c4b241408dbf8bdae69%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638377265800560799%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wxnLQZr7KbLaogqiCYLyaFqNgoLWd7SFfzZivlBA85s%3D&reserved=0<http://www.jsoftware.com/forums.htm> ---------------------------------------------------------------------- For information about J forums see https://gbr01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.com%2Fforums.htm&data=05%7C02%7C%7C13e5424748624c4b241408dbf8bdae69%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638377265800560799%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wxnLQZr7KbLaogqiCYLyaFqNgoLWd7SFfzZivlBA85s%3D&reserved=0<http://www.jsoftware.com/forums.htm> ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm