Element!

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

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

  • @fiona9891
    @fiona9891 3 ปีที่แล้ว +60

    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 3 หลายเดือนก่อน +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.

  • @sigstackfault
    @sigstackfault 4 ปีที่แล้ว +7

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

  • @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 ปีที่แล้ว +2

      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.

  • @Vaaaaadim
    @Vaaaaadim 3 ปีที่แล้ว +4

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

  • @Vijwal
    @Vijwal 3 ปีที่แล้ว +17

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

    • @mr.duckie._.
      @mr.duckie._. 5 หลายเดือนก่อน

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

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

      JavaScript template literals

  • @imlxh7126
    @imlxh7126 3 ปีที่แล้ว +2

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

  • @tuna3977
    @tuna3977 3 ปีที่แล้ว +2

    0:51 *sad template string voices*

    • @tuna3977
      @tuna3977 3 ปีที่แล้ว

      oh i just realized someone has already made that comment

  • @jlewwis1995
    @jlewwis1995 3 ปีที่แล้ว +3

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

  • @Pacvalham
    @Pacvalham 3 ปีที่แล้ว +1

    JavaScript template strings

  • @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.

  • @angelcaru
    @angelcaru 3 ปีที่แล้ว +2

    0:11 You make the code FIT in the hole

  • @bologuara
    @bologuara 3 ปีที่แล้ว +1

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

  • @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

  • @NoOne-iv4co
    @NoOne-iv4co 3 ปีที่แล้ว +2

    0:13 the no is nice

  • @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 🤔

  • @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.

  • @nikolaskhf
    @nikolaskhf 4 ปีที่แล้ว

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

  • @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.

  • @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".

  • @xBZZZZyt
    @xBZZZZyt 3 ปีที่แล้ว

    00:53 When using JavaScript format string thing.

  • @jameslawson1
    @jameslawson1 6 ปีที่แล้ว +1

    Great video as usual, keep up the great work!

  • @otesunki
    @otesunki 3 ปีที่แล้ว

    truttle1: 0:53
    javascript template strings:

  • @estou_aqui-2361
    @estou_aqui-2361 3 ปีที่แล้ว +1

    Why u so underated?

  • @fdsKedi
    @fdsKedi 3 ปีที่แล้ว +1

    1:58 The answer is -95,375

  • @talkysassis
    @talkysassis 3 ปีที่แล้ว +1

    0:51 Laughs in abnt keyboard

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

    0:55 italic quotes

  • @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.

  • @svz5990
    @svz5990 10 หลายเดือนก่อน

    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,

  • @robertboran6234
    @robertboran6234 4 ปีที่แล้ว

    Interesting.

  • @filisoafe
    @filisoafe 3 ปีที่แล้ว

    bottles of pop not working

  • @eggegg749
    @eggegg749 5 ปีที่แล้ว

    Castle Crashers music!

  • @rodrigoqteixeira
    @rodrigoqteixeira ปีที่แล้ว

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

  • @osmineretro9591
    @osmineretro9591 4 ปีที่แล้ว +1

    The answer is...
    *idk*

  • @junebugrobotics
    @junebugrobotics 5 หลายเดือนก่อน

    0:59 World

  • @tengoaxalkacishvili8794
    @tengoaxalkacishvili8794 2 ปีที่แล้ว

    Turtle🐢

  • @retroboi128thegamedev
    @retroboi128thegamedev 2 ปีที่แล้ว

    `

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

    Not a sharp sign

  • @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 4 ปีที่แล้ว

      @@Blue-Maned_Hawk lol

    • @Blue-Maned_Hawk
      @Blue-Maned_Hawk 4 ปีที่แล้ว

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

    • @lilspelunker5613
      @lilspelunker5613 3 ปีที่แล้ว

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

  • @circleubuntu
    @circleubuntu 3 ปีที่แล้ว

    Creaturey is thicc