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://code.jsoftware.com/wiki/Essays/Advent_Of_Code#Part_1>
>
> What am I missing?
>
> Thanks
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to