Dad jokes are funUnholy Grail Layout (Reverse Holy Grail Layout)Track listings to time tablesWho has the most stars in The Nineteenth Byte?Count the divisors of a numberParse a two-dimensional syntaxIndexable quineSort these bond ratingsHexplosive ASCII-art challengeIs the matrix rank-one?Declare a Code Golf Winner

Ribbon Cable Cross Talk - Is there a fix after the fact?

Are cells guaranteed to get at least one mitochondrion when they divide?

Count all vowels in string

Why'd a rational buyer offer to buy with no conditions precedent?

Writing "hahaha" versus describing the laugh

Is there an idiom that means "accepting a bad business deal out of desperation"?

Why does the Starter Set wizard have six spells in their spellbook?

Reduce size of sum sub/superscript?

The disk image is 497GB smaller than the target device

Why do testers need root cause analysis?

Are runways booked by airlines to land their planes?

How to deceive the MC

Why was this character made Grand Maester?

Why is the Eisenstein ideal paper so great?

Adding location of start and end points to the attribute table

Why does the painters tape have to be blue?

Unary Enumeration

Is keeping the forking link on a true fork necessary (Github/GPL)?

Are there any German nonsense poems (Jabberwocky)?

Why does FOO=bar; export the variable into my environment

Why is std::ssize() introduced in C++20?

How can I get a refund from a seller who only accepts Zelle?

Who wrote “A writer only begins a book. A reader finishes it.”?

Can a multiclassed Kensei monk/Swashbuckler rogue use an offhand finesse weapon to trigger Sneak Attack, without using a bonus action?



Dad jokes are fun


Unholy Grail Layout (Reverse Holy Grail Layout)Track listings to time tablesWho has the most stars in The Nineteenth Byte?Count the divisors of a numberParse a two-dimensional syntaxIndexable quineSort these bond ratingsHexplosive ASCII-art challengeIs the matrix rank-one?Declare a Code Golf Winner













9












$begingroup$


We all know the classic dad joke that goes something like this:



  1. Somebody says a sentence to describe their self (e.g. I'm tired or I'm confused).


  2. A dad-joke enthusiast comes along and replies Hi <adjective>, I'm Dad!, because introductions follow the same format (I'm Peter follows the same format as I'm hungry).


Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.



Test cases (assume that they are being parsed by Python):



I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python


Now assume that these test cases are being parsed by Golfscript:



I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!


The exact challenge:




  1. Take in a string in the self-descriptor format (I'm <adjective> or I'm a(n) <noun>) using standard input or through a function.



    • Assume there is no ending punctuation.


    • Assume the word I'm is used and not I am.



  2. Convert it to a dad-joke format - see the above examples for exactly how that should look.


Other stuff:



  • This is code-golf, so shortest byte count wins.


  • Follow the standard loophole rules - none of those, please.


  • Have fun!



Leaderboard



You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text) with the following info:



  • The name of the language (end it with a comma , or dash -), followed by...


  • The byte count, as the last number to appear in your header.


For example, JavaScript (ES6), 72 bytes is valid, but Fortran, 143 bytes (8-bit) is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).






<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>












share|improve this question









$endgroup$







  • 2




    $begingroup$
    One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
    $endgroup$
    – Giuseppe
    5 hours ago






  • 1




    $begingroup$
    Some example outputs end with exclamation and some do not. What is the significance?
    $endgroup$
    – recursive
    4 hours ago















9












$begingroup$


We all know the classic dad joke that goes something like this:



  1. Somebody says a sentence to describe their self (e.g. I'm tired or I'm confused).


  2. A dad-joke enthusiast comes along and replies Hi <adjective>, I'm Dad!, because introductions follow the same format (I'm Peter follows the same format as I'm hungry).


Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.



Test cases (assume that they are being parsed by Python):



I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python


Now assume that these test cases are being parsed by Golfscript:



I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!


The exact challenge:




  1. Take in a string in the self-descriptor format (I'm <adjective> or I'm a(n) <noun>) using standard input or through a function.



    • Assume there is no ending punctuation.


    • Assume the word I'm is used and not I am.



  2. Convert it to a dad-joke format - see the above examples for exactly how that should look.


Other stuff:



  • This is code-golf, so shortest byte count wins.


  • Follow the standard loophole rules - none of those, please.


  • Have fun!



Leaderboard



You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text) with the following info:



  • The name of the language (end it with a comma , or dash -), followed by...


  • The byte count, as the last number to appear in your header.


For example, JavaScript (ES6), 72 bytes is valid, but Fortran, 143 bytes (8-bit) is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).






<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>












share|improve this question









$endgroup$







  • 2




    $begingroup$
    One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
    $endgroup$
    – Giuseppe
    5 hours ago






  • 1




    $begingroup$
    Some example outputs end with exclamation and some do not. What is the significance?
    $endgroup$
    – recursive
    4 hours ago













9












9








9


1



$begingroup$


We all know the classic dad joke that goes something like this:



  1. Somebody says a sentence to describe their self (e.g. I'm tired or I'm confused).


  2. A dad-joke enthusiast comes along and replies Hi <adjective>, I'm Dad!, because introductions follow the same format (I'm Peter follows the same format as I'm hungry).


Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.



Test cases (assume that they are being parsed by Python):



I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python


Now assume that these test cases are being parsed by Golfscript:



I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!


The exact challenge:




  1. Take in a string in the self-descriptor format (I'm <adjective> or I'm a(n) <noun>) using standard input or through a function.



    • Assume there is no ending punctuation.


    • Assume the word I'm is used and not I am.



  2. Convert it to a dad-joke format - see the above examples for exactly how that should look.


Other stuff:



  • This is code-golf, so shortest byte count wins.


  • Follow the standard loophole rules - none of those, please.


  • Have fun!



Leaderboard



You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text) with the following info:



  • The name of the language (end it with a comma , or dash -), followed by...


  • The byte count, as the last number to appear in your header.


For example, JavaScript (ES6), 72 bytes is valid, but Fortran, 143 bytes (8-bit) is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).






<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>












share|improve this question









$endgroup$




We all know the classic dad joke that goes something like this:



  1. Somebody says a sentence to describe their self (e.g. I'm tired or I'm confused).


  2. A dad-joke enthusiast comes along and replies Hi <adjective>, I'm Dad!, because introductions follow the same format (I'm Peter follows the same format as I'm hungry).


Your job is to take in an input in the form of a self-descriptor, and output the appropriate dad-joke form, but instead of using the word "Dad", you'll use the name of the programming language you're programming in.



Test cases (assume that they are being parsed by Python):



I'm amazing Hi amazing, I'm Python!
I'm tired Hi tired, I'm Python
I'm hungry Hi hungry, I'm Python!
I'm fat Hi fat, I'm Python


Now assume that these test cases are being parsed by Golfscript:



I'm a programmer Hi a programmer, I'm Golfscript!
I'm a question-writer Hi a question-writer, I'm Golfscript!
I'm a Stack-Overflow-er Hi a Stack-Overflow-er, I'm Golfscript!


The exact challenge:




  1. Take in a string in the self-descriptor format (I'm <adjective> or I'm a(n) <noun>) using standard input or through a function.



    • Assume there is no ending punctuation.


    • Assume the word I'm is used and not I am.



  2. Convert it to a dad-joke format - see the above examples for exactly how that should look.


Other stuff:



  • This is code-golf, so shortest byte count wins.


  • Follow the standard loophole rules - none of those, please.


  • Have fun!



Leaderboard



You can view the leaderboard for this post by expanding the widget/snippet below. In order for your post to be included in the rankings, you need a header (# header text) with the following info:



  • The name of the language (end it with a comma , or dash -), followed by...


  • The byte count, as the last number to appear in your header.


For example, JavaScript (ES6), 72 bytes is valid, but Fortran, 143 bytes (8-bit) is invalid because the byte count is not the last number in the header (your answer will be recognized as 8 bytes - don't take advantage of this).






<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>








<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>





<iframe src="https://xmikee1.github.io/ppcg-leaderboard/?id=185872" width="100%" height="100%" style="border: none;">Oops, your browser is too old to view this content! Please upgrade to a newer version of your browser that supports HTML5.</iframe><style>html,bodymargin:0;padding:0;height:100%;overflow:hidden</style>






code-golf natural-language






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 7 hours ago









connectyourchargerconnectyourcharger

1457




1457







  • 2




    $begingroup$
    One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
    $endgroup$
    – Giuseppe
    5 hours ago






  • 1




    $begingroup$
    Some example outputs end with exclamation and some do not. What is the significance?
    $endgroup$
    – recursive
    4 hours ago












  • 2




    $begingroup$
    One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
    $endgroup$
    – Giuseppe
    5 hours ago






  • 1




    $begingroup$
    Some example outputs end with exclamation and some do not. What is the significance?
    $endgroup$
    – recursive
    4 hours ago







2




2




$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
5 hours ago




$begingroup$
One of the ways I considered telling my family that my wife was expecting was by telling as many dad jokes as possible and seeing who caught on!
$endgroup$
– Giuseppe
5 hours ago




1




1




$begingroup$
Some example outputs end with exclamation and some do not. What is the significance?
$endgroup$
– recursive
4 hours ago




$begingroup$
Some example outputs end with exclamation and some do not. What is the significance?
$endgroup$
– recursive
4 hours ago










16 Answers
16






active

oldest

votes


















3












$begingroup$


Jelly, 20 bytes



œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;


Try it online!



A monadic link taking the input as its argument and returning a Jelly string.



Explanation



œṡ⁶ | Split at first space
Ṛ | Reverse
j⁾, | Join with ", "
;“Œ1~» | Concatenate " Jelly!" to the end
“Hi ”; | Concatenate "Hi " to the beginning





share|improve this answer











$endgroup$












  • $begingroup$
    Hang on, Jelly has a built-in just for the word "Jelly"?
    $endgroup$
    – connectyourcharger
    6 hours ago










  • $begingroup$
    @connectyourcharger it’s a compressed dictionary word
    $endgroup$
    – Nick Kennedy
    6 hours ago










  • $begingroup$
    Ah, that makes sense
    $endgroup$
    – connectyourcharger
    6 hours ago


















3












$begingroup$


Ruby -p, 32 28 bytes



-4 bytes by leveraging Nick Kennedy's Jelly answer.





~/ /;$_="Hi #$', I'm Ruby!"


Explanation



 # -p gets line of input and saves to $_
~/ /; # Find first space in $_ using regex
$_="Hi #$', I'm Ruby!" # Save modified string to $_
# ($' is the string AFTER the most recent regex match)
# -p outputs $_ to screen


Try it online!






share|improve this answer











$endgroup$












  • $begingroup$
    Cool! Where's your input?
    $endgroup$
    – connectyourcharger
    6 hours ago










  • $begingroup$
    @connectyourcharger added an explanation. Input is STDIN.
    $endgroup$
    – Value Ink
    6 hours ago










  • $begingroup$
    Gotcha. Good answer!
    $endgroup$
    – connectyourcharger
    6 hours ago


















2












$begingroup$

brainfuck, 164



,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.


Try it online!



The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.






share|improve this answer









$endgroup$












  • $begingroup$
    Try BF Crunch
    $endgroup$
    – Jo King
    3 hours ago


















2












$begingroup$


J, 22 bytes



', I''m J!',~'Hi',3}.]


Try it online!






share|improve this answer











$endgroup$




















    2












    $begingroup$


    Stax, 13 bytes



    â∞¿φ‼0▲(─ƒSqÄ


    Run and debug it






    share|improve this answer









    $endgroup$




















      2












      $begingroup$


      Octave, 35 bytes





      @(s)["Hi" s(4:end) ", I'm Octave!"]


      Try it online!



      @(s) % Anonymous function taking a string input
      [ ] % Concatenate everything inside the brackets
      "Hi" ", I'm Octave!"] % The fixed parts of the output string
      s(4:end) % The input, except "I'm"

      % Returns the concatenated string


      42 bytes:



      I tried retrieving "Octave" somehow, without writing it out, since 6 chars is quite a lot compared to some of the other language names here. Unfortunately, I could only find ver, which outputs a struct with comma separated fields. Takes way more than 6 bytes. :(



      @(s)["Hi" s(4:end) ", I'm " ver.Name1]


      Try it online!






      share|improve this answer











      $endgroup$




















        1












        $begingroup$


        Japt, 18 bytes



        `His3, I'm Japt!


        When Japt's string compression library achieves a 0% compress rate...



        Try it






        share|improve this answer











        $endgroup$




















          1












          $begingroup$

          APL+WIN, 31 bytes



          s," ",("Hi",3↓s←⎕),", I'm APL!"


          Prompts for input string.



          Try it online! Courtesy of Dyalog Classic



          One byte extra in TIO as Dyalog Classic requires quotes within text strings to be doubled up whereas double quotes can be used to enclose text strings in APL+WIN.






          share|improve this answer









          $endgroup$




















            1












            $begingroup$


            Perl 6, 30 28 bytes



            -2 bytes thanks to bb94





            "Him/s.*/, I'm Perl 6!"


            Try it online!






            share|improve this answer











            $endgroup$




















              1












              $begingroup$

              JavaScript, 38 37 bytes



              x=>`Hi$x.slice(3), I'm JavaScript!`


              Try it online!






              share|improve this answer











              $endgroup$




















                0












                $begingroup$


                Python 3, 35 bytes





                lambda s:"Hi"+s[3:]+", I'm Python!"


                Try it online!






                share|improve this answer









                $endgroup$












                • $begingroup$
                  34 bytes
                  $endgroup$
                  – Embodiment of Ignorance
                  4 hours ago


















                0












                $begingroup$


                C# (Visual C# Interactive Compiler), 33 bytes





                n=>$"Hin.Substring(3), I'm C#!"


                Try it online!






                share|improve this answer









                $endgroup$




















                  0












                  $begingroup$


                  C (gcc), 59 42 bytes



                  -17 bytes thanks to @Conor O'Brien noticing that the import wasn't necessary





                  int a(char*x)printf("Hi%s, I'm C!",x+3);


                  Try it online!



                  Chops off the first 3 characters of the input (removes I'm) and surrounds it with the desired text






                  share|improve this answer











                  $endgroup$












                  • $begingroup$
                    The program compiles without the import, so you can drop it for 42 bytes.
                    $endgroup$
                    – Conor O'Brien
                    3 hours ago










                  • $begingroup$
                    @ConorO'Brien nice catch!
                    $endgroup$
                    – Neil A.
                    3 hours ago






                  • 1




                    $begingroup$
                    And the int is also optional.
                    $endgroup$
                    – tsh
                    2 hours ago










                  • $begingroup$
                    (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                    $endgroup$
                    – tsh
                    2 hours ago



















                  0












                  $begingroup$


                  Perl 5 -p, 31 bytes





                  s/I'm/Hi/;$=", I'm Perl 5 -p!"


                  Try it online!






                  share|improve this answer









                  $endgroup$




















                    0












                    $begingroup$


                    05AB1E, 23 bytes



                    #À„Hiš`s',«s"05AB1E!"ðý


                    Try it online!



                    Explanation



                    # # split on spaces
                    À # rotate left
                    „Hiš # prepend "Hi"
                    ` # split as separate words to the stack
                    s # move the adjective to the top of the stack
                    ',« # append ","
                    s # swap "I'm" to the top of the stack
                    "05AB1E!" # push the language name
                    ðý # join on spaces





                    share|improve this answer









                    $endgroup$




















                      0












                      $begingroup$


                      V, 15 bytes



                      c3lHi␛A, I'm V!


                      Try it online!



                      New to V. Just knew it about 30 minutes ago. Anyway, this language is chosen just because its name only cost 1 byte. I'm not sure how to send <End> key in V. Most vim environment would accept <End> as a replacement of <Esc>A in this example. But, you know, V is 2 characters shorter than vim. :)






                      share|improve this answer











                      $endgroup$













                        Your Answer






                        StackExchange.ifUsing("editor", function ()
                        StackExchange.using("externalEditor", function ()
                        StackExchange.using("snippets", function ()
                        StackExchange.snippets.init();
                        );
                        );
                        , "code-snippets");

                        StackExchange.ready(function()
                        var channelOptions =
                        tags: "".split(" "),
                        id: "200"
                        ;
                        initTagRenderer("".split(" "), "".split(" "), channelOptions);

                        StackExchange.using("externalEditor", function()
                        // Have to fire editor after snippets, if snippets enabled
                        if (StackExchange.settings.snippets.snippetsEnabled)
                        StackExchange.using("snippets", function()
                        createEditor();
                        );

                        else
                        createEditor();

                        );

                        function createEditor()
                        StackExchange.prepareEditor(
                        heartbeatType: 'answer',
                        autoActivateHeartbeat: false,
                        convertImagesToLinks: false,
                        noModals: true,
                        showLowRepImageUploadWarning: true,
                        reputationToPostImages: null,
                        bindNavPrevention: true,
                        postfix: "",
                        imageUploader:
                        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                        allowUrls: true
                        ,
                        onDemand: true,
                        discardSelector: ".discard-answer"
                        ,immediatelyShowMarkdownHelp:true
                        );



                        );













                        draft saved

                        draft discarded


















                        StackExchange.ready(
                        function ()
                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f185872%2fdad-jokes-are-fun%23new-answer', 'question_page');

                        );

                        Post as a guest















                        Required, but never shown

























                        16 Answers
                        16






                        active

                        oldest

                        votes








                        16 Answers
                        16






                        active

                        oldest

                        votes









                        active

                        oldest

                        votes






                        active

                        oldest

                        votes









                        3












                        $begingroup$


                        Jelly, 20 bytes



                        œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;


                        Try it online!



                        A monadic link taking the input as its argument and returning a Jelly string.



                        Explanation



                        œṡ⁶ | Split at first space
                        Ṛ | Reverse
                        j⁾, | Join with ", "
                        ;“Œ1~» | Concatenate " Jelly!" to the end
                        “Hi ”; | Concatenate "Hi " to the beginning





                        share|improve this answer











                        $endgroup$












                        • $begingroup$
                          Hang on, Jelly has a built-in just for the word "Jelly"?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger it’s a compressed dictionary word
                          $endgroup$
                          – Nick Kennedy
                          6 hours ago










                        • $begingroup$
                          Ah, that makes sense
                          $endgroup$
                          – connectyourcharger
                          6 hours ago















                        3












                        $begingroup$


                        Jelly, 20 bytes



                        œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;


                        Try it online!



                        A monadic link taking the input as its argument and returning a Jelly string.



                        Explanation



                        œṡ⁶ | Split at first space
                        Ṛ | Reverse
                        j⁾, | Join with ", "
                        ;“Œ1~» | Concatenate " Jelly!" to the end
                        “Hi ”; | Concatenate "Hi " to the beginning





                        share|improve this answer











                        $endgroup$












                        • $begingroup$
                          Hang on, Jelly has a built-in just for the word "Jelly"?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger it’s a compressed dictionary word
                          $endgroup$
                          – Nick Kennedy
                          6 hours ago










                        • $begingroup$
                          Ah, that makes sense
                          $endgroup$
                          – connectyourcharger
                          6 hours ago













                        3












                        3








                        3





                        $begingroup$


                        Jelly, 20 bytes



                        œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;


                        Try it online!



                        A monadic link taking the input as its argument and returning a Jelly string.



                        Explanation



                        œṡ⁶ | Split at first space
                        Ṛ | Reverse
                        j⁾, | Join with ", "
                        ;“Œ1~» | Concatenate " Jelly!" to the end
                        “Hi ”; | Concatenate "Hi " to the beginning





                        share|improve this answer











                        $endgroup$




                        Jelly, 20 bytes



                        œṡ⁶Ṛj⁾, ;“Œ1~»“Hi ”;


                        Try it online!



                        A monadic link taking the input as its argument and returning a Jelly string.



                        Explanation



                        œṡ⁶ | Split at first space
                        Ṛ | Reverse
                        j⁾, | Join with ", "
                        ;“Œ1~» | Concatenate " Jelly!" to the end
                        “Hi ”; | Concatenate "Hi " to the beginning






                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited 4 hours ago

























                        answered 6 hours ago









                        Nick KennedyNick Kennedy

                        2,41469




                        2,41469











                        • $begingroup$
                          Hang on, Jelly has a built-in just for the word "Jelly"?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger it’s a compressed dictionary word
                          $endgroup$
                          – Nick Kennedy
                          6 hours ago










                        • $begingroup$
                          Ah, that makes sense
                          $endgroup$
                          – connectyourcharger
                          6 hours ago
















                        • $begingroup$
                          Hang on, Jelly has a built-in just for the word "Jelly"?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger it’s a compressed dictionary word
                          $endgroup$
                          – Nick Kennedy
                          6 hours ago










                        • $begingroup$
                          Ah, that makes sense
                          $endgroup$
                          – connectyourcharger
                          6 hours ago















                        $begingroup$
                        Hang on, Jelly has a built-in just for the word "Jelly"?
                        $endgroup$
                        – connectyourcharger
                        6 hours ago




                        $begingroup$
                        Hang on, Jelly has a built-in just for the word "Jelly"?
                        $endgroup$
                        – connectyourcharger
                        6 hours ago












                        $begingroup$
                        @connectyourcharger it’s a compressed dictionary word
                        $endgroup$
                        – Nick Kennedy
                        6 hours ago




                        $begingroup$
                        @connectyourcharger it’s a compressed dictionary word
                        $endgroup$
                        – Nick Kennedy
                        6 hours ago












                        $begingroup$
                        Ah, that makes sense
                        $endgroup$
                        – connectyourcharger
                        6 hours ago




                        $begingroup$
                        Ah, that makes sense
                        $endgroup$
                        – connectyourcharger
                        6 hours ago











                        3












                        $begingroup$


                        Ruby -p, 32 28 bytes



                        -4 bytes by leveraging Nick Kennedy's Jelly answer.





                        ~/ /;$_="Hi #$', I'm Ruby!"


                        Explanation



                         # -p gets line of input and saves to $_
                        ~/ /; # Find first space in $_ using regex
                        $_="Hi #$', I'm Ruby!" # Save modified string to $_
                        # ($' is the string AFTER the most recent regex match)
                        # -p outputs $_ to screen


                        Try it online!






                        share|improve this answer











                        $endgroup$












                        • $begingroup$
                          Cool! Where's your input?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger added an explanation. Input is STDIN.
                          $endgroup$
                          – Value Ink
                          6 hours ago










                        • $begingroup$
                          Gotcha. Good answer!
                          $endgroup$
                          – connectyourcharger
                          6 hours ago















                        3












                        $begingroup$


                        Ruby -p, 32 28 bytes



                        -4 bytes by leveraging Nick Kennedy's Jelly answer.





                        ~/ /;$_="Hi #$', I'm Ruby!"


                        Explanation



                         # -p gets line of input and saves to $_
                        ~/ /; # Find first space in $_ using regex
                        $_="Hi #$', I'm Ruby!" # Save modified string to $_
                        # ($' is the string AFTER the most recent regex match)
                        # -p outputs $_ to screen


                        Try it online!






                        share|improve this answer











                        $endgroup$












                        • $begingroup$
                          Cool! Where's your input?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger added an explanation. Input is STDIN.
                          $endgroup$
                          – Value Ink
                          6 hours ago










                        • $begingroup$
                          Gotcha. Good answer!
                          $endgroup$
                          – connectyourcharger
                          6 hours ago













                        3












                        3








                        3





                        $begingroup$


                        Ruby -p, 32 28 bytes



                        -4 bytes by leveraging Nick Kennedy's Jelly answer.





                        ~/ /;$_="Hi #$', I'm Ruby!"


                        Explanation



                         # -p gets line of input and saves to $_
                        ~/ /; # Find first space in $_ using regex
                        $_="Hi #$', I'm Ruby!" # Save modified string to $_
                        # ($' is the string AFTER the most recent regex match)
                        # -p outputs $_ to screen


                        Try it online!






                        share|improve this answer











                        $endgroup$




                        Ruby -p, 32 28 bytes



                        -4 bytes by leveraging Nick Kennedy's Jelly answer.





                        ~/ /;$_="Hi #$', I'm Ruby!"


                        Explanation



                         # -p gets line of input and saves to $_
                        ~/ /; # Find first space in $_ using regex
                        $_="Hi #$', I'm Ruby!" # Save modified string to $_
                        # ($' is the string AFTER the most recent regex match)
                        # -p outputs $_ to screen


                        Try it online!







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited 4 hours ago

























                        answered 6 hours ago









                        Value InkValue Ink

                        8,165731




                        8,165731











                        • $begingroup$
                          Cool! Where's your input?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger added an explanation. Input is STDIN.
                          $endgroup$
                          – Value Ink
                          6 hours ago










                        • $begingroup$
                          Gotcha. Good answer!
                          $endgroup$
                          – connectyourcharger
                          6 hours ago
















                        • $begingroup$
                          Cool! Where's your input?
                          $endgroup$
                          – connectyourcharger
                          6 hours ago










                        • $begingroup$
                          @connectyourcharger added an explanation. Input is STDIN.
                          $endgroup$
                          – Value Ink
                          6 hours ago










                        • $begingroup$
                          Gotcha. Good answer!
                          $endgroup$
                          – connectyourcharger
                          6 hours ago















                        $begingroup$
                        Cool! Where's your input?
                        $endgroup$
                        – connectyourcharger
                        6 hours ago




                        $begingroup$
                        Cool! Where's your input?
                        $endgroup$
                        – connectyourcharger
                        6 hours ago












                        $begingroup$
                        @connectyourcharger added an explanation. Input is STDIN.
                        $endgroup$
                        – Value Ink
                        6 hours ago




                        $begingroup$
                        @connectyourcharger added an explanation. Input is STDIN.
                        $endgroup$
                        – Value Ink
                        6 hours ago












                        $begingroup$
                        Gotcha. Good answer!
                        $endgroup$
                        – connectyourcharger
                        6 hours ago




                        $begingroup$
                        Gotcha. Good answer!
                        $endgroup$
                        – connectyourcharger
                        6 hours ago











                        2












                        $begingroup$

                        brainfuck, 164



                        ,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.


                        Try it online!



                        The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.






                        share|improve this answer









                        $endgroup$












                        • $begingroup$
                          Try BF Crunch
                          $endgroup$
                          – Jo King
                          3 hours ago















                        2












                        $begingroup$

                        brainfuck, 164



                        ,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.


                        Try it online!



                        The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.






                        share|improve this answer









                        $endgroup$












                        • $begingroup$
                          Try BF Crunch
                          $endgroup$
                          – Jo King
                          3 hours ago













                        2












                        2








                        2





                        $begingroup$

                        brainfuck, 164



                        ,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.


                        Try it online!



                        The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.






                        share|improve this answer









                        $endgroup$



                        brainfuck, 164



                        ,-.+>,>,----.++++>,.>,[.,]<<<+++++.----->>.[<]>[.>]<[->+++<]>++.[--->+<]>----.+++[->+++<]>++.++++++++.+++++.--------.-[--->+<]>--.+[->+++<]>+.++++++++.+[++>---<]>-.


                        Try it online!



                        The "brainfuck!" part of the string is generated with this tool, can probably be golfed further by hand.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered 5 hours ago









                        cardboard_boxcardboard_box

                        4,0851430




                        4,0851430











                        • $begingroup$
                          Try BF Crunch
                          $endgroup$
                          – Jo King
                          3 hours ago
















                        • $begingroup$
                          Try BF Crunch
                          $endgroup$
                          – Jo King
                          3 hours ago















                        $begingroup$
                        Try BF Crunch
                        $endgroup$
                        – Jo King
                        3 hours ago




                        $begingroup$
                        Try BF Crunch
                        $endgroup$
                        – Jo King
                        3 hours ago











                        2












                        $begingroup$


                        J, 22 bytes



                        ', I''m J!',~'Hi',3}.]


                        Try it online!






                        share|improve this answer











                        $endgroup$

















                          2












                          $begingroup$


                          J, 22 bytes



                          ', I''m J!',~'Hi',3}.]


                          Try it online!






                          share|improve this answer











                          $endgroup$















                            2












                            2








                            2





                            $begingroup$


                            J, 22 bytes



                            ', I''m J!',~'Hi',3}.]


                            Try it online!






                            share|improve this answer











                            $endgroup$




                            J, 22 bytes



                            ', I''m J!',~'Hi',3}.]


                            Try it online!







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 5 hours ago

























                            answered 5 hours ago









                            JonahJonah

                            3,3081019




                            3,3081019





















                                2












                                $begingroup$


                                Stax, 13 bytes



                                â∞¿φ‼0▲(─ƒSqÄ


                                Run and debug it






                                share|improve this answer









                                $endgroup$

















                                  2












                                  $begingroup$


                                  Stax, 13 bytes



                                  â∞¿φ‼0▲(─ƒSqÄ


                                  Run and debug it






                                  share|improve this answer









                                  $endgroup$















                                    2












                                    2








                                    2





                                    $begingroup$


                                    Stax, 13 bytes



                                    â∞¿φ‼0▲(─ƒSqÄ


                                    Run and debug it






                                    share|improve this answer









                                    $endgroup$




                                    Stax, 13 bytes



                                    â∞¿φ‼0▲(─ƒSqÄ


                                    Run and debug it







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 4 hours ago









                                    recursiverecursive

                                    5,9741323




                                    5,9741323





















                                        2












                                        $begingroup$


                                        Octave, 35 bytes





                                        @(s)["Hi" s(4:end) ", I'm Octave!"]


                                        Try it online!



                                        @(s) % Anonymous function taking a string input
                                        [ ] % Concatenate everything inside the brackets
                                        "Hi" ", I'm Octave!"] % The fixed parts of the output string
                                        s(4:end) % The input, except "I'm"

                                        % Returns the concatenated string


                                        42 bytes:



                                        I tried retrieving "Octave" somehow, without writing it out, since 6 chars is quite a lot compared to some of the other language names here. Unfortunately, I could only find ver, which outputs a struct with comma separated fields. Takes way more than 6 bytes. :(



                                        @(s)["Hi" s(4:end) ", I'm " ver.Name1]


                                        Try it online!






                                        share|improve this answer











                                        $endgroup$

















                                          2












                                          $begingroup$


                                          Octave, 35 bytes





                                          @(s)["Hi" s(4:end) ", I'm Octave!"]


                                          Try it online!



                                          @(s) % Anonymous function taking a string input
                                          [ ] % Concatenate everything inside the brackets
                                          "Hi" ", I'm Octave!"] % The fixed parts of the output string
                                          s(4:end) % The input, except "I'm"

                                          % Returns the concatenated string


                                          42 bytes:



                                          I tried retrieving "Octave" somehow, without writing it out, since 6 chars is quite a lot compared to some of the other language names here. Unfortunately, I could only find ver, which outputs a struct with comma separated fields. Takes way more than 6 bytes. :(



                                          @(s)["Hi" s(4:end) ", I'm " ver.Name1]


                                          Try it online!






                                          share|improve this answer











                                          $endgroup$















                                            2












                                            2








                                            2





                                            $begingroup$


                                            Octave, 35 bytes





                                            @(s)["Hi" s(4:end) ", I'm Octave!"]


                                            Try it online!



                                            @(s) % Anonymous function taking a string input
                                            [ ] % Concatenate everything inside the brackets
                                            "Hi" ", I'm Octave!"] % The fixed parts of the output string
                                            s(4:end) % The input, except "I'm"

                                            % Returns the concatenated string


                                            42 bytes:



                                            I tried retrieving "Octave" somehow, without writing it out, since 6 chars is quite a lot compared to some of the other language names here. Unfortunately, I could only find ver, which outputs a struct with comma separated fields. Takes way more than 6 bytes. :(



                                            @(s)["Hi" s(4:end) ", I'm " ver.Name1]


                                            Try it online!






                                            share|improve this answer











                                            $endgroup$




                                            Octave, 35 bytes





                                            @(s)["Hi" s(4:end) ", I'm Octave!"]


                                            Try it online!



                                            @(s) % Anonymous function taking a string input
                                            [ ] % Concatenate everything inside the brackets
                                            "Hi" ", I'm Octave!"] % The fixed parts of the output string
                                            s(4:end) % The input, except "I'm"

                                            % Returns the concatenated string


                                            42 bytes:



                                            I tried retrieving "Octave" somehow, without writing it out, since 6 chars is quite a lot compared to some of the other language names here. Unfortunately, I could only find ver, which outputs a struct with comma separated fields. Takes way more than 6 bytes. :(



                                            @(s)["Hi" s(4:end) ", I'm " ver.Name1]


                                            Try it online!







                                            share|improve this answer














                                            share|improve this answer



                                            share|improve this answer








                                            edited 6 mins ago

























                                            answered 1 hour ago









                                            Stewie GriffinStewie Griffin

                                            28.9k11107274




                                            28.9k11107274





















                                                1












                                                $begingroup$


                                                Japt, 18 bytes



                                                `His3, I'm Japt!


                                                When Japt's string compression library achieves a 0% compress rate...



                                                Try it






                                                share|improve this answer











                                                $endgroup$

















                                                  1












                                                  $begingroup$


                                                  Japt, 18 bytes



                                                  `His3, I'm Japt!


                                                  When Japt's string compression library achieves a 0% compress rate...



                                                  Try it






                                                  share|improve this answer











                                                  $endgroup$















                                                    1












                                                    1








                                                    1





                                                    $begingroup$


                                                    Japt, 18 bytes



                                                    `His3, I'm Japt!


                                                    When Japt's string compression library achieves a 0% compress rate...



                                                    Try it






                                                    share|improve this answer











                                                    $endgroup$




                                                    Japt, 18 bytes



                                                    `His3, I'm Japt!


                                                    When Japt's string compression library achieves a 0% compress rate...



                                                    Try it







                                                    share|improve this answer














                                                    share|improve this answer



                                                    share|improve this answer








                                                    edited 3 hours ago

























                                                    answered 4 hours ago









                                                    Embodiment of IgnoranceEmbodiment of Ignorance

                                                    3,559128




                                                    3,559128





















                                                        1












                                                        $begingroup$

                                                        APL+WIN, 31 bytes



                                                        s," ",("Hi",3↓s←⎕),", I'm APL!"


                                                        Prompts for input string.



                                                        Try it online! Courtesy of Dyalog Classic



                                                        One byte extra in TIO as Dyalog Classic requires quotes within text strings to be doubled up whereas double quotes can be used to enclose text strings in APL+WIN.






                                                        share|improve this answer









                                                        $endgroup$

















                                                          1












                                                          $begingroup$

                                                          APL+WIN, 31 bytes



                                                          s," ",("Hi",3↓s←⎕),", I'm APL!"


                                                          Prompts for input string.



                                                          Try it online! Courtesy of Dyalog Classic



                                                          One byte extra in TIO as Dyalog Classic requires quotes within text strings to be doubled up whereas double quotes can be used to enclose text strings in APL+WIN.






                                                          share|improve this answer









                                                          $endgroup$















                                                            1












                                                            1








                                                            1





                                                            $begingroup$

                                                            APL+WIN, 31 bytes



                                                            s," ",("Hi",3↓s←⎕),", I'm APL!"


                                                            Prompts for input string.



                                                            Try it online! Courtesy of Dyalog Classic



                                                            One byte extra in TIO as Dyalog Classic requires quotes within text strings to be doubled up whereas double quotes can be used to enclose text strings in APL+WIN.






                                                            share|improve this answer









                                                            $endgroup$



                                                            APL+WIN, 31 bytes



                                                            s," ",("Hi",3↓s←⎕),", I'm APL!"


                                                            Prompts for input string.



                                                            Try it online! Courtesy of Dyalog Classic



                                                            One byte extra in TIO as Dyalog Classic requires quotes within text strings to be doubled up whereas double quotes can be used to enclose text strings in APL+WIN.







                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered 1 hour ago









                                                            GrahamGraham

                                                            2,73678




                                                            2,73678





















                                                                1












                                                                $begingroup$


                                                                Perl 6, 30 28 bytes



                                                                -2 bytes thanks to bb94





                                                                "Him/s.*/, I'm Perl 6!"


                                                                Try it online!






                                                                share|improve this answer











                                                                $endgroup$

















                                                                  1












                                                                  $begingroup$


                                                                  Perl 6, 30 28 bytes



                                                                  -2 bytes thanks to bb94





                                                                  "Him/s.*/, I'm Perl 6!"


                                                                  Try it online!






                                                                  share|improve this answer











                                                                  $endgroup$















                                                                    1












                                                                    1








                                                                    1





                                                                    $begingroup$


                                                                    Perl 6, 30 28 bytes



                                                                    -2 bytes thanks to bb94





                                                                    "Him/s.*/, I'm Perl 6!"


                                                                    Try it online!






                                                                    share|improve this answer











                                                                    $endgroup$




                                                                    Perl 6, 30 28 bytes



                                                                    -2 bytes thanks to bb94





                                                                    "Him/s.*/, I'm Perl 6!"


                                                                    Try it online!







                                                                    share|improve this answer














                                                                    share|improve this answer



                                                                    share|improve this answer








                                                                    edited 1 hour ago

























                                                                    answered 3 hours ago









                                                                    Jo KingJo King

                                                                    28.3k366134




                                                                    28.3k366134





















                                                                        1












                                                                        $begingroup$

                                                                        JavaScript, 38 37 bytes



                                                                        x=>`Hi$x.slice(3), I'm JavaScript!`


                                                                        Try it online!






                                                                        share|improve this answer











                                                                        $endgroup$

















                                                                          1












                                                                          $begingroup$

                                                                          JavaScript, 38 37 bytes



                                                                          x=>`Hi$x.slice(3), I'm JavaScript!`


                                                                          Try it online!






                                                                          share|improve this answer











                                                                          $endgroup$















                                                                            1












                                                                            1








                                                                            1





                                                                            $begingroup$

                                                                            JavaScript, 38 37 bytes



                                                                            x=>`Hi$x.slice(3), I'm JavaScript!`


                                                                            Try it online!






                                                                            share|improve this answer











                                                                            $endgroup$



                                                                            JavaScript, 38 37 bytes



                                                                            x=>`Hi$x.slice(3), I'm JavaScript!`


                                                                            Try it online!







                                                                            share|improve this answer














                                                                            share|improve this answer



                                                                            share|improve this answer








                                                                            edited 13 mins ago

























                                                                            answered 22 mins ago









                                                                            darrylyeodarrylyeo

                                                                            5,4041034




                                                                            5,4041034





















                                                                                0












                                                                                $begingroup$


                                                                                Python 3, 35 bytes





                                                                                lambda s:"Hi"+s[3:]+", I'm Python!"


                                                                                Try it online!






                                                                                share|improve this answer









                                                                                $endgroup$












                                                                                • $begingroup$
                                                                                  34 bytes
                                                                                  $endgroup$
                                                                                  – Embodiment of Ignorance
                                                                                  4 hours ago















                                                                                0












                                                                                $begingroup$


                                                                                Python 3, 35 bytes





                                                                                lambda s:"Hi"+s[3:]+", I'm Python!"


                                                                                Try it online!






                                                                                share|improve this answer









                                                                                $endgroup$












                                                                                • $begingroup$
                                                                                  34 bytes
                                                                                  $endgroup$
                                                                                  – Embodiment of Ignorance
                                                                                  4 hours ago













                                                                                0












                                                                                0








                                                                                0





                                                                                $begingroup$


                                                                                Python 3, 35 bytes





                                                                                lambda s:"Hi"+s[3:]+", I'm Python!"


                                                                                Try it online!






                                                                                share|improve this answer









                                                                                $endgroup$




                                                                                Python 3, 35 bytes





                                                                                lambda s:"Hi"+s[3:]+", I'm Python!"


                                                                                Try it online!







                                                                                share|improve this answer












                                                                                share|improve this answer



                                                                                share|improve this answer










                                                                                answered 5 hours ago









                                                                                StephenStephen

                                                                                7,59723499




                                                                                7,59723499











                                                                                • $begingroup$
                                                                                  34 bytes
                                                                                  $endgroup$
                                                                                  – Embodiment of Ignorance
                                                                                  4 hours ago
















                                                                                • $begingroup$
                                                                                  34 bytes
                                                                                  $endgroup$
                                                                                  – Embodiment of Ignorance
                                                                                  4 hours ago















                                                                                $begingroup$
                                                                                34 bytes
                                                                                $endgroup$
                                                                                – Embodiment of Ignorance
                                                                                4 hours ago




                                                                                $begingroup$
                                                                                34 bytes
                                                                                $endgroup$
                                                                                – Embodiment of Ignorance
                                                                                4 hours ago











                                                                                0












                                                                                $begingroup$


                                                                                C# (Visual C# Interactive Compiler), 33 bytes





                                                                                n=>$"Hin.Substring(3), I'm C#!"


                                                                                Try it online!






                                                                                share|improve this answer









                                                                                $endgroup$

















                                                                                  0












                                                                                  $begingroup$


                                                                                  C# (Visual C# Interactive Compiler), 33 bytes





                                                                                  n=>$"Hin.Substring(3), I'm C#!"


                                                                                  Try it online!






                                                                                  share|improve this answer









                                                                                  $endgroup$















                                                                                    0












                                                                                    0








                                                                                    0





                                                                                    $begingroup$


                                                                                    C# (Visual C# Interactive Compiler), 33 bytes





                                                                                    n=>$"Hin.Substring(3), I'm C#!"


                                                                                    Try it online!






                                                                                    share|improve this answer









                                                                                    $endgroup$




                                                                                    C# (Visual C# Interactive Compiler), 33 bytes





                                                                                    n=>$"Hin.Substring(3), I'm C#!"


                                                                                    Try it online!







                                                                                    share|improve this answer












                                                                                    share|improve this answer



                                                                                    share|improve this answer










                                                                                    answered 4 hours ago









                                                                                    Embodiment of IgnoranceEmbodiment of Ignorance

                                                                                    3,559128




                                                                                    3,559128





















                                                                                        0












                                                                                        $begingroup$


                                                                                        C (gcc), 59 42 bytes



                                                                                        -17 bytes thanks to @Conor O'Brien noticing that the import wasn't necessary





                                                                                        int a(char*x)printf("Hi%s, I'm C!",x+3);


                                                                                        Try it online!



                                                                                        Chops off the first 3 characters of the input (removes I'm) and surrounds it with the desired text






                                                                                        share|improve this answer











                                                                                        $endgroup$












                                                                                        • $begingroup$
                                                                                          The program compiles without the import, so you can drop it for 42 bytes.
                                                                                          $endgroup$
                                                                                          – Conor O'Brien
                                                                                          3 hours ago










                                                                                        • $begingroup$
                                                                                          @ConorO'Brien nice catch!
                                                                                          $endgroup$
                                                                                          – Neil A.
                                                                                          3 hours ago






                                                                                        • 1




                                                                                          $begingroup$
                                                                                          And the int is also optional.
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago










                                                                                        • $begingroup$
                                                                                          (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago
















                                                                                        0












                                                                                        $begingroup$


                                                                                        C (gcc), 59 42 bytes



                                                                                        -17 bytes thanks to @Conor O'Brien noticing that the import wasn't necessary





                                                                                        int a(char*x)printf("Hi%s, I'm C!",x+3);


                                                                                        Try it online!



                                                                                        Chops off the first 3 characters of the input (removes I'm) and surrounds it with the desired text






                                                                                        share|improve this answer











                                                                                        $endgroup$












                                                                                        • $begingroup$
                                                                                          The program compiles without the import, so you can drop it for 42 bytes.
                                                                                          $endgroup$
                                                                                          – Conor O'Brien
                                                                                          3 hours ago










                                                                                        • $begingroup$
                                                                                          @ConorO'Brien nice catch!
                                                                                          $endgroup$
                                                                                          – Neil A.
                                                                                          3 hours ago






                                                                                        • 1




                                                                                          $begingroup$
                                                                                          And the int is also optional.
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago










                                                                                        • $begingroup$
                                                                                          (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago














                                                                                        0












                                                                                        0








                                                                                        0





                                                                                        $begingroup$


                                                                                        C (gcc), 59 42 bytes



                                                                                        -17 bytes thanks to @Conor O'Brien noticing that the import wasn't necessary





                                                                                        int a(char*x)printf("Hi%s, I'm C!",x+3);


                                                                                        Try it online!



                                                                                        Chops off the first 3 characters of the input (removes I'm) and surrounds it with the desired text






                                                                                        share|improve this answer











                                                                                        $endgroup$




                                                                                        C (gcc), 59 42 bytes



                                                                                        -17 bytes thanks to @Conor O'Brien noticing that the import wasn't necessary





                                                                                        int a(char*x)printf("Hi%s, I'm C!",x+3);


                                                                                        Try it online!



                                                                                        Chops off the first 3 characters of the input (removes I'm) and surrounds it with the desired text







                                                                                        share|improve this answer














                                                                                        share|improve this answer



                                                                                        share|improve this answer








                                                                                        edited 3 hours ago

























                                                                                        answered 5 hours ago









                                                                                        Neil A.Neil A.

                                                                                        1,518221




                                                                                        1,518221











                                                                                        • $begingroup$
                                                                                          The program compiles without the import, so you can drop it for 42 bytes.
                                                                                          $endgroup$
                                                                                          – Conor O'Brien
                                                                                          3 hours ago










                                                                                        • $begingroup$
                                                                                          @ConorO'Brien nice catch!
                                                                                          $endgroup$
                                                                                          – Neil A.
                                                                                          3 hours ago






                                                                                        • 1




                                                                                          $begingroup$
                                                                                          And the int is also optional.
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago










                                                                                        • $begingroup$
                                                                                          (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago

















                                                                                        • $begingroup$
                                                                                          The program compiles without the import, so you can drop it for 42 bytes.
                                                                                          $endgroup$
                                                                                          – Conor O'Brien
                                                                                          3 hours ago










                                                                                        • $begingroup$
                                                                                          @ConorO'Brien nice catch!
                                                                                          $endgroup$
                                                                                          – Neil A.
                                                                                          3 hours ago






                                                                                        • 1




                                                                                          $begingroup$
                                                                                          And the int is also optional.
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago










                                                                                        • $begingroup$
                                                                                          (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                          $endgroup$
                                                                                          – tsh
                                                                                          2 hours ago
















                                                                                        $begingroup$
                                                                                        The program compiles without the import, so you can drop it for 42 bytes.
                                                                                        $endgroup$
                                                                                        – Conor O'Brien
                                                                                        3 hours ago




                                                                                        $begingroup$
                                                                                        The program compiles without the import, so you can drop it for 42 bytes.
                                                                                        $endgroup$
                                                                                        – Conor O'Brien
                                                                                        3 hours ago












                                                                                        $begingroup$
                                                                                        @ConorO'Brien nice catch!
                                                                                        $endgroup$
                                                                                        – Neil A.
                                                                                        3 hours ago




                                                                                        $begingroup$
                                                                                        @ConorO'Brien nice catch!
                                                                                        $endgroup$
                                                                                        – Neil A.
                                                                                        3 hours ago




                                                                                        1




                                                                                        1




                                                                                        $begingroup$
                                                                                        And the int is also optional.
                                                                                        $endgroup$
                                                                                        – tsh
                                                                                        2 hours ago




                                                                                        $begingroup$
                                                                                        And the int is also optional.
                                                                                        $endgroup$
                                                                                        – tsh
                                                                                        2 hours ago












                                                                                        $begingroup$
                                                                                        (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                        $endgroup$
                                                                                        – tsh
                                                                                        2 hours ago





                                                                                        $begingroup$
                                                                                        (?) And also the char*, maybe...; so a(x)printf("Hi%s, I'm C!",x+3); should work
                                                                                        $endgroup$
                                                                                        – tsh
                                                                                        2 hours ago












                                                                                        0












                                                                                        $begingroup$


                                                                                        Perl 5 -p, 31 bytes





                                                                                        s/I'm/Hi/;$=", I'm Perl 5 -p!"


                                                                                        Try it online!






                                                                                        share|improve this answer









                                                                                        $endgroup$

















                                                                                          0












                                                                                          $begingroup$


                                                                                          Perl 5 -p, 31 bytes





                                                                                          s/I'm/Hi/;$=", I'm Perl 5 -p!"


                                                                                          Try it online!






                                                                                          share|improve this answer









                                                                                          $endgroup$















                                                                                            0












                                                                                            0








                                                                                            0





                                                                                            $begingroup$


                                                                                            Perl 5 -p, 31 bytes





                                                                                            s/I'm/Hi/;$=", I'm Perl 5 -p!"


                                                                                            Try it online!






                                                                                            share|improve this answer









                                                                                            $endgroup$




                                                                                            Perl 5 -p, 31 bytes





                                                                                            s/I'm/Hi/;$=", I'm Perl 5 -p!"


                                                                                            Try it online!







                                                                                            share|improve this answer












                                                                                            share|improve this answer



                                                                                            share|improve this answer










                                                                                            answered 2 hours ago









                                                                                            XcaliXcali

                                                                                            5,790522




                                                                                            5,790522





















                                                                                                0












                                                                                                $begingroup$


                                                                                                05AB1E, 23 bytes



                                                                                                #À„Hiš`s',«s"05AB1E!"ðý


                                                                                                Try it online!



                                                                                                Explanation



                                                                                                # # split on spaces
                                                                                                À # rotate left
                                                                                                „Hiš # prepend "Hi"
                                                                                                ` # split as separate words to the stack
                                                                                                s # move the adjective to the top of the stack
                                                                                                ',« # append ","
                                                                                                s # swap "I'm" to the top of the stack
                                                                                                "05AB1E!" # push the language name
                                                                                                ðý # join on spaces





                                                                                                share|improve this answer









                                                                                                $endgroup$

















                                                                                                  0












                                                                                                  $begingroup$


                                                                                                  05AB1E, 23 bytes



                                                                                                  #À„Hiš`s',«s"05AB1E!"ðý


                                                                                                  Try it online!



                                                                                                  Explanation



                                                                                                  # # split on spaces
                                                                                                  À # rotate left
                                                                                                  „Hiš # prepend "Hi"
                                                                                                  ` # split as separate words to the stack
                                                                                                  s # move the adjective to the top of the stack
                                                                                                  ',« # append ","
                                                                                                  s # swap "I'm" to the top of the stack
                                                                                                  "05AB1E!" # push the language name
                                                                                                  ðý # join on spaces





                                                                                                  share|improve this answer









                                                                                                  $endgroup$















                                                                                                    0












                                                                                                    0








                                                                                                    0





                                                                                                    $begingroup$


                                                                                                    05AB1E, 23 bytes



                                                                                                    #À„Hiš`s',«s"05AB1E!"ðý


                                                                                                    Try it online!



                                                                                                    Explanation



                                                                                                    # # split on spaces
                                                                                                    À # rotate left
                                                                                                    „Hiš # prepend "Hi"
                                                                                                    ` # split as separate words to the stack
                                                                                                    s # move the adjective to the top of the stack
                                                                                                    ',« # append ","
                                                                                                    s # swap "I'm" to the top of the stack
                                                                                                    "05AB1E!" # push the language name
                                                                                                    ðý # join on spaces





                                                                                                    share|improve this answer









                                                                                                    $endgroup$




                                                                                                    05AB1E, 23 bytes



                                                                                                    #À„Hiš`s',«s"05AB1E!"ðý


                                                                                                    Try it online!



                                                                                                    Explanation



                                                                                                    # # split on spaces
                                                                                                    À # rotate left
                                                                                                    „Hiš # prepend "Hi"
                                                                                                    ` # split as separate words to the stack
                                                                                                    s # move the adjective to the top of the stack
                                                                                                    ',« # append ","
                                                                                                    s # swap "I'm" to the top of the stack
                                                                                                    "05AB1E!" # push the language name
                                                                                                    ðý # join on spaces






                                                                                                    share|improve this answer












                                                                                                    share|improve this answer



                                                                                                    share|improve this answer










                                                                                                    answered 10 mins ago









                                                                                                    EmignaEmigna

                                                                                                    49.3k534150




                                                                                                    49.3k534150





















                                                                                                        0












                                                                                                        $begingroup$


                                                                                                        V, 15 bytes



                                                                                                        c3lHi␛A, I'm V!


                                                                                                        Try it online!



                                                                                                        New to V. Just knew it about 30 minutes ago. Anyway, this language is chosen just because its name only cost 1 byte. I'm not sure how to send <End> key in V. Most vim environment would accept <End> as a replacement of <Esc>A in this example. But, you know, V is 2 characters shorter than vim. :)






                                                                                                        share|improve this answer











                                                                                                        $endgroup$

















                                                                                                          0












                                                                                                          $begingroup$


                                                                                                          V, 15 bytes



                                                                                                          c3lHi␛A, I'm V!


                                                                                                          Try it online!



                                                                                                          New to V. Just knew it about 30 minutes ago. Anyway, this language is chosen just because its name only cost 1 byte. I'm not sure how to send <End> key in V. Most vim environment would accept <End> as a replacement of <Esc>A in this example. But, you know, V is 2 characters shorter than vim. :)






                                                                                                          share|improve this answer











                                                                                                          $endgroup$















                                                                                                            0












                                                                                                            0








                                                                                                            0





                                                                                                            $begingroup$


                                                                                                            V, 15 bytes



                                                                                                            c3lHi␛A, I'm V!


                                                                                                            Try it online!



                                                                                                            New to V. Just knew it about 30 minutes ago. Anyway, this language is chosen just because its name only cost 1 byte. I'm not sure how to send <End> key in V. Most vim environment would accept <End> as a replacement of <Esc>A in this example. But, you know, V is 2 characters shorter than vim. :)






                                                                                                            share|improve this answer











                                                                                                            $endgroup$




                                                                                                            V, 15 bytes



                                                                                                            c3lHi␛A, I'm V!


                                                                                                            Try it online!



                                                                                                            New to V. Just knew it about 30 minutes ago. Anyway, this language is chosen just because its name only cost 1 byte. I'm not sure how to send <End> key in V. Most vim environment would accept <End> as a replacement of <Esc>A in this example. But, you know, V is 2 characters shorter than vim. :)







                                                                                                            share|improve this answer














                                                                                                            share|improve this answer



                                                                                                            share|improve this answer








                                                                                                            edited 6 mins ago

























                                                                                                            answered 33 mins ago









                                                                                                            tshtsh

                                                                                                            9,66511654




                                                                                                            9,66511654



























                                                                                                                draft saved

                                                                                                                draft discarded
















































                                                                                                                If this is an answer to a challenge…



                                                                                                                • …Be sure to follow the challenge specification. However, please refrain from exploiting obvious loopholes. Answers abusing any of the standard loopholes are considered invalid. If you think a specification is unclear or underspecified, comment on the question instead.


                                                                                                                • …Try to optimize your score. For instance, answers to code-golf challenges should attempt to be as short as possible. You can always include a readable version of the code in addition to the competitive one.
                                                                                                                  Explanations of your answer make it more interesting to read and are very much encouraged.


                                                                                                                • …Include a short header which indicates the language(s) of your code and its score, as defined by the challenge.


                                                                                                                More generally…



                                                                                                                • …Please make sure to answer the question and provide sufficient detail.


                                                                                                                • …Avoid asking for help, clarification or responding to other answers (use comments instead).




                                                                                                                draft saved


                                                                                                                draft discarded














                                                                                                                StackExchange.ready(
                                                                                                                function ()
                                                                                                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcodegolf.stackexchange.com%2fquestions%2f185872%2fdad-jokes-are-fun%23new-answer', 'question_page');

                                                                                                                );

                                                                                                                Post as a guest















                                                                                                                Required, but never shown





















































                                                                                                                Required, but never shown














                                                                                                                Required, but never shown












                                                                                                                Required, but never shown







                                                                                                                Required, but never shown

































                                                                                                                Required, but never shown














                                                                                                                Required, but never shown












                                                                                                                Required, but never shown







                                                                                                                Required, but never shown







                                                                                                                Popular posts from this blog

                                                                                                                Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                                                                                                Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                                                                                                199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單