Code Review: Crystal

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

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

  • @kodesoul
    @kodesoul Год назад +52

    Best chat moment this year 😆😆 -> "Smoking crystal adds syntax highlighting". That was gold !!!

  • @John223
    @John223 Год назад +66

    Crystal? Ruby? what's up with developers naming their languages after strippers?

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

      Lmao

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

      I was thinking Pokemon 😂

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

      You haven’t lived until you write fizz buzz in emerald!

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

      @@Zzznmop remember to always use protection!

  • @airman122469
    @airman122469 Год назад +27

    “Crystal is what Ruby wishes it could be”
    Yes. That’s true.

  • @Pepsiaddicto
    @Pepsiaddicto Год назад +12

    Clean as Ruby, fast as C. What else could you ask for? I guess you could get greedy and ask for the compiler to be faster than minutes to hours on a large project 😂

  • @vladyslavkarahaiev471
    @vladyslavkarahaiev471 Год назад +8

    Wanted to see crystal, but I guess next time

  • @garanceadrosehn9691
    @garanceadrosehn9691 Год назад +7

    _Pardon my use of underscores for spacing._
    In ruby you'd do:
    _ def initialize(type, value)
    _ _ @type = type
    _ _ @value = value
    _ end
    _(where @type and @value are instance-variables for the class)_
    In crystal you'd do:
    _ def initialize(@type, @value)
    _ end
    _(which would still set the instance variables @type and @value, but without using any method-local variables)_

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

    6:58 The lack of chalance as he runs git reset -hard and rm -rf… balls of steel on this man

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

    Someone already took up your challenge and is done with the first chapter. Only three more chapters left to go...

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

    case..when..then..end? Some language-developer knew SQL...
    Also, arity-0-function-application without parentheses reminds me of Scala or Haskell; not OCaml or F#. (There are no zero-arity functions in OCaml, which is why the canonical way of defining such a function in OCaml is with a single argument of () (value "unit", of type "unit."))

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

    "crystal build deez" is fucking amazing

  • @Microphunktv-jb3kj
    @Microphunktv-jb3kj Год назад

    lol pretty sure LSP is Scry for Crystal >D
    or Crystalline

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

    those are stache braces

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

    🤓 ahem acktually salt is a crystal so uve done 2 crystals

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

    You're basically pronouncing crystal like the German translation Kristal. Kinda

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

    squigly brackets