Element!

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 87

  • @fiona9891
    @fiona9891 3 роки тому +61

    for every code golf problem, simply make a language that does exactly what is described as necessary without you having to put anything in the actual code, so you can have 0 character answers

    • @SimonClarkstone
      @SimonClarkstone 3 роки тому +10

      The rules say the language must exist before the problem is posted.

    • @baoxuezhang3300
      @baoxuezhang3300 3 роки тому +5

      @@SimonClarkstone The rules also say the language must be Turing-complete.

    • @Pacvalham
      @Pacvalham 3 роки тому +4

      @@baoxuezhang3300 I don't think the rule Simon mentioned has a loophole, but yours does: an empty program solves the problem but other characters allow calculations that a Turing machine can do.

    • @baoxuezhang3300
      @baoxuezhang3300 3 роки тому +3

      ​@@Pacvalham ​True. Mine doesn't really solve the problem in this case does it :/

    • @baoxuezhang3300
      @baoxuezhang3300 3 роки тому +2

      It would also be somewhat against the rules to have a specific character do something so specific, like "ä" making a truth-machine, unlike a while loop which takes in inputs.

  • @dionyzus2909
    @dionyzus2909 3 роки тому +16

    0:53 I use tilde, acute and grave accents everytime (and almost everyone who speaks romance languages), but that key is not to the left of the number one on my keyboard layout, but next to the middle Enter button and the brackets
    layout is like
    Key1: ´ ` Key2: [ {
    Key3: ~ ^ Key4: ] } Key5: ↵

    • @gabenugget114
      @gabenugget114 5 місяців тому +1

      also it allows `italic quotes`

  • @CheatCodeSam
    @CheatCodeSam 6 років тому +34

    Bruh you have a super dope channel. You deserve more views

  • @sinom
    @sinom 3 роки тому +8

    0:53 for template strings in typescript. That's when I last used that button.

    • @lilspelunker5613
      @lilspelunker5613 3 роки тому +4

      also javascript, but typescript is just javascript + types

    • @Orincaby
      @Orincaby 3 роки тому

      @@lilspelunker5613 and 13 pounds of meth

  • @tristanballman9262
    @tristanballman9262 3 роки тому +10

    Haskell uses grave's to allow functions with two inputs to be used infix.
    For example if I've written a function named plus which adds two integers, by default you would call it like "plus 5 10".
    But you can also write "5 `plus` 10" which doesn't change the result but can sometimes be more readable.

  • @tuna3977
    @tuna3977 3 роки тому +2

    0:51 *sad template string voices*

    • @tuna3977
      @tuna3977 3 роки тому

      oh i just realized someone has already made that comment

  • @Vijwal
    @Vijwal 3 роки тому +19

    Him: no one uses grave accent
    Discord users: I'm gonna pretend I dint see that.

    • @mr.duckie._.
      @mr.duckie._. 7 місяців тому

      the ` key is used to open the inventory in roblox on PC

    • @InfiniteWithout
      @InfiniteWithout 4 місяці тому

      JavaScript template literals

  • @sigstackfault
    @sigstackfault 4 роки тому +7

    1:21 THAT'S THE WRONG SLASH!!!1!
    / is a regular slash
    \ is a backslash
    \ is the escape character.

  • @Vaaaaadim
    @Vaaaaadim 3 роки тому +6

    I use the backtick(grave accent) often for formatting code in a discord message.

  • @w1keee
    @w1keee 4 роки тому +22

    python has a shorter calculator program:
    while True:print(eval(input()))

    • @orangegaming9562
      @orangegaming9562 4 роки тому

      You can make it shorter
      Just type it into console/terminal

    • @orangegaming9562
      @orangegaming9562 4 роки тому +1

      It was a joke

    • @Maric18
      @Maric18 3 роки тому +3

      a print program that can delete your os for the correct inputs :D

    • @lilspelunker5613
      @lilspelunker5613 3 роки тому +1

      It's not just a calculator, its also a Python REPL.

    • @PheloSaad
      @PheloSaad 3 роки тому

      That’s a self interpreter, not a calculator.

  • @angelcaru
    @angelcaru 3 роки тому +3

    0:11 You make the code FIT in the hole

  • @jlewwis1995
    @jlewwis1995 3 роки тому +3

    0:52 debug consoles in game engines: am I a joke to you

  • @imlxh7126
    @imlxh7126 3 роки тому +2

    FWIW, "pop" is only 75% the length of "beer".

  • @NoOne-iv4co
    @NoOne-iv4co 3 роки тому +2

    0:13 the no is nice

  • @MCLooyverse
    @MCLooyverse 3 роки тому +3

    Bruh, '`' (grave) is used all the time in markdown-ish languages for inline code. I literally use it every day, at least on Discord. Also, I'm pretty sure JavaScript uses graves for easy stringification (e.g. `x = ${x}` is exactly the string "x = 3", if indeed x does equal 3).
    I'm currently learning the Dvorak layout, and this took *ages* to type.

  • @bologuara
    @bologuara 3 роки тому +1

    0:54 I sometimes use this in haskell, and we use it in specific moments in portuguese

  • @jr-yn4lk
    @jr-yn4lk 4 роки тому +7

    Your channel is seriously underrated. Maybe because you don't cover mainstream languages like JavaScript .

    • @Truttle1
      @Truttle1  4 роки тому +5

      There are already enough channels covering those languages anyway

  • @sodiboo
    @sodiboo 3 роки тому +2

    Now that you've shown Element, you should show Elements! It's not an esoteric language, it's a toolchain of 6 languages, i just think it's pretty neat since all 6 can be compiled and used together in a single project.

  • @vicr123
    @vicr123 6 років тому +9

    I use the grave accent whenever I'm typing in Tiếng Việt 👀
    ...okay well I didn't use the grave accent there because I didn't need it :)
    What if dividing required you to take the inverse of the dividend 🤔

  • @nikolaskhf
    @nikolaskhf 4 роки тому

    Thank you UA-cam that have sent me here.. I have no idea why I keep watching your videos overnight... '-'

  • @frank_calvert
    @frank_calvert 5 років тому +1

    If you haven't noticed yet "grave" isnt said like english "grave", it's said with the "a" sound in "father"

    • @dionyzus2909
      @dionyzus2909 3 роки тому

      Yes because it is not an anglo-saxon word, but derived from latin

  • @Pacvalham
    @Pacvalham 3 роки тому +1

    JavaScript template strings

  • @jameslawson1
    @jameslawson1 6 років тому +1

    Great video as usual, keep up the great work!

  • @talkysassis
    @talkysassis 3 роки тому +1

    0:51 Laughs in abnt keyboard

  • @xBZZZZyt
    @xBZZZZyt 3 роки тому

    00:53 When using JavaScript format string thing.

  • @otesunki
    @otesunki 3 роки тому

    truttle1: 0:53
    javascript template strings:

  • @fdsKedi
    @fdsKedi 3 роки тому +1

    1:58 The answer is -95,375

  • @MrRyanroberson1
    @MrRyanroberson1 3 роки тому

    Optimum code golf language: sort all code golf problems and then assign them unicode values in order. Whichever unicode character is evaluated gets "run".

  • @IceMetalPunk
    @IceMetalPunk 3 роки тому

    I use ` all the time, because it's set as my "Pick Block" key in Minecraft :P I also use it to mark code on Reddit and Microsoft Teams.

  • @gabenugget114
    @gabenugget114 5 місяців тому

    0:55 italic quotes

  • @estou_aqui-2361
    @estou_aqui-2361 3 роки тому +1

    Why u so underated?

  • @NStripleseven
    @NStripleseven 3 роки тому

    Soooooo... if you’re allowed to use... WHICHEVER programming language you want, even those which you created, could you not create a language that does the thing you want using the character “ (for instance) and everything else using normal characters?

    • @cmyk8964
      @cmyk8964 3 роки тому

      Look up MetaGolfScript.

  • @robertboran6234
    @robertboran6234 5 років тому

    Interesting.

  • @svz5990
    @svz5990 Рік тому

    0.54 I recently use `, just by accident, nothing more really, and i really do have it on my keyboard
    Edit: mispelled i with a,

  • @junebugrobotics
    @junebugrobotics 7 місяців тому

    0:59 World

  • @rodrigoqteixeira
    @rodrigoqteixeira Рік тому

    Actually I do have accents in my keyboard (Im portuguese) ' ^ ` ~

  • @filisoafe
    @filisoafe 3 роки тому

    bottles of pop not working

  • @eggegg749
    @eggegg749 5 років тому

    Castle Crashers music!

  • @osmineretro9591
    @osmineretro9591 4 роки тому +1

    The answer is...
    *idk*

  • @tengoaxalkacishvili8794
    @tengoaxalkacishvili8794 2 роки тому

    Turtle🐢

  • @Blue-Maned_Hawk
    @Blue-Maned_Hawk 6 років тому

    Hey, you used Try It online!

    • @Blue-Maned_Hawk
      @Blue-Maned_Hawk 5 років тому

      Why did I make this comment?

    • @inx1819
      @inx1819 5 років тому

      @@Blue-Maned_Hawk lol

    • @Blue-Maned_Hawk
      @Blue-Maned_Hawk 5 років тому

      @@inx1819 hfooguhoiuhoiuhih87VY(CX*)X&C*)**B"XCP}

    • @lilspelunker5613
      @lilspelunker5613 3 роки тому

      @@Blue-Maned_Hawk hfooguhoiuhoiuhih87VY(CX*)X&C*)**B"XCP}

  • @InfiniteWithout
    @InfiniteWithout 4 місяці тому

    Not a sharp sign

  • @retroboi128thegamedev
    @retroboi128thegamedev 2 роки тому

    `

  • @circleubuntu
    @circleubuntu 3 роки тому

    Creaturey is thicc