Filter & Fold | Rust Language

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • Learn Rust programming with me : Avoid using chatGPT! - (Or becoming reliant on it at the very least! Ok, I did use it once for a 2nd opinion, that's all ). This is not so much a 'tutorial' but rather a review of using fold, and how it differed to sum. I also discuss neovim, autocompletions, and chat about some things that catch me out.
    🟢 I use filter and fold on some code to add up the ages of some pets.
    🟢 I also cover my neovim config and show the plugins I use.
    Config : gist.github.com/RGGH/7ea78681...
    - chapters -
    00:00 intro
    02:00 fold vs sum
    03:50 create a vector of pets
    06:40 can I explain fold?
    09:38 impl autocomplete?
    12:04 fmt::Display
    14:40 LSP shows docs
    17:43 my init.vim file
    20:09 buffer duffer
    🟩 doc.rust-lang.org/std/iter/tr...
    Rust Playground of Code used in the video :
    ----------------------------------------------------------------------
    🟩 play.rust-lang.org/?version=s...
    Linux Hosting - VPS server - Webdock
    ----------------------------------------------------------------
    🟩 Webdock Linux Hosting : webdock.io/en?maff=wdaff--170
    Nostr
    ---------
    @RngWeb
    findthatbit@iris.to
    findthatbit.info/
    redandgreen.co.uk/
    #rustlang #neovim #learningrust

ความคิดเห็น • 7

  • @prophet6767
    @prophet6767 3 หลายเดือนก่อน +1

    The algorithm blessed me, good vid mate👍

    • @learning_rust
      @learning_rust  3 หลายเดือนก่อน

      Awesome, thank you!

  • @InMemoryOfNeo
    @InMemoryOfNeo 3 หลายเดือนก่อน +1

    👏👏👏👏👏👏👏

    • @learning_rust
      @learning_rust  3 หลายเดือนก่อน +1

      Cheers bro 👍 👍

  • @jeffg4686
    @jeffg4686 2 หลายเดือนก่อน

    With AI stuff, I forgot there even was a language called Rust.
    Is the Rust project still going?😂😂😂
    We're going to be using GPT-Pilot and the like to write the whole app for us.

  • @beingsavage9398
    @beingsavage9398 3 หลายเดือนก่อน +1

    neovim config?

    • @learning_rust
      @learning_rust  3 หลายเดือนก่อน

      gist.github.com/RGGH/7ea7868101ce59800d32b6d9cd18feba