More Advent of Code in Uiua

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025
  • Problem description: adventofcode.c...
    Take a look at Uiua! www.uiua.org/pad

Комментарии • 12

  • @firstname9150
    @firstname9150 7 месяцев назад +2

    Great video! Please do more UIUA, love it!

  • @kaikalii
    @kaikalii Год назад +16

    Your step-by-step explanation is excellent!
    This problem is weirdly conducive to array programming, and it's a great showcase!
    Just a tip: if you just put the input string on the stack then do `p ←` on the next line, that will bind it the same way and save some indentation.

  • @pvstar1323
    @pvstar1323 Год назад +9

    Thank you for this. The way you do your solutions makes me understand array based languages better

  • @eliseulucenabarros3920
    @eliseulucenabarros3920 Год назад +1

    COMPLETELY MIND BLOWING....

  • @sneezy_hd8362
    @sneezy_hd8362 Год назад +4

    Nice video, please do more of these

  • @TankorSmash
    @TankorSmash Год назад

    Great video, thanks for putting it out!

  • @code_explorations
    @code_explorations Год назад +2

    Love it, thank you. I found it hard to follow after a certain point, but am now working through it slowly.

  • @TigerWalts
    @TigerWalts Год назад +9

    Very sad that you didn't name the winning indices array `w` for `windices`.
    I can happily say I actually followed this all the way through and even knew in general what the next step was going to be.
    I need to get better with Fork, Both and Dip as they all help to prevent stack juggling. I did see there is also a Restack function which you could use to do some monstrous things with.

    • @feathecutie9942
      @feathecutie9942 Год назад +1

      Restack has been deprecated (and i think already officially removed in the latest version) because it made stack shuffling too hard to read/understand

    • @TigerWalts
      @TigerWalts Год назад

      @@feathecutie9942 Probably for the best

  • @anon_y_mousse
    @anon_y_mousse Год назад +1

    Was this language designed for code golfing? I think if I were to use this language full time I'd need to type the full name of each function because otherwise I'd go nuts.

  • @8panthermodern2
    @8panthermodern2 Год назад

    This has to be one of the worst-named programming languages I have ever seen