Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ challenge #6001: FIOC

Name: Christopher 2017-10-21 9:05

Input: A four-letter ASCII string
Output: The phrase ``αorced αndendation αf αode'',
with the alphae replaced with the consecutive letters from the input, shifted to uppercase.
╔═══════════════════════════════════════════════
║Example 1: sicp -> Sorced Indendation Cf Pode
║Example 2: SUSS -> Sorced Undendation Sf Sode
╚═══════════════════════════════════════════════

Your entry has to be a
source code
of a complete program
that takes the input on stdin and outputs the string to stdout. Shortest program wins.

Name: Anonymous 2017-10-24 12:21

>>40
Why can't you have short expressive names, like subst or upcase?

Name: Anonymous 2017-10-24 13:55

>>41
I dunno, I didn't design any of those languages. I just wrote code in them. if I had to guess, a lot of the verbosity would be because originally lisps didn't have polymorphism or multimethods so if you wanted different beavior dependent on type, you needed multiple function names (which explains e.g. string-upcase and char-upcase. obtuse names like rplaca on the other hand were pretty common in older languages (before the ideas like literate programming became more mainstream): just look at C standard library having function names like atoi, fprintf or ldexp. if you didn't already know what they do, you'd have a hard time figuring it out based on those names.

Name: Anonymous 2017-10-29 10:52

Guys, there's 3 days left, you still have chance to compete.

Name: Anonymous 2017-10-29 11:25

>>43
Everyone already did.

Name: Anonymous 2017-10-29 15:01

>>4
prompt
isn't standard input and the browser console isn't standard output.

process.stdin.on('data', s=>{[a,b,c,d]=(''+s).toUpperCase().split('');console.log(`${a}orced ${b}ndendation ${c}f ${d}ode`)})

Name: Anonymous 2017-10-29 19:01

>>44
Which entry is mine?
Which is yours?
Which is The Sussman's?

Name: Anonymous 2017-11-02 3:16

Sorced Hndentation If Tode

Name: Christopher 2017-11-03 22:17

🍫 ⋆ 🍪  🎀  𝒞𝐻𝒜𝐿𝐿𝐸𝒩𝒢𝐸 𝐹𝐼𝒩𝐼𝒮𝐻𝐸𝒟  🎀  🍪 ⋆ 🍫


WINNER: >>19-kun

🅒🅞🅝🅖🅡🅐🅣🅤🅛🅐🅣🅘🅞🅝

Name: Anonymous 2017-11-03 22:23

>>19
What language is this even?

Name: Anonymous 2017-11-04 1:08

>>49
J

Name: Anonymous 2017-11-07 0:41

>>50
ack off

Name: Anonymous 2017-11-08 8:11

>>48
nice. hope that /prog/ challenge tradition returns!

Name: Anonymous 2017-11-08 15:36

>>49
Perl

Name: Anonymous 2017-11-08 16:30

>>53
Oh...
I saw the // and immediately thought ``comment.'' That must have been why.

Name: Anonymous 2017-11-08 16:46

Cool.

Name: Christopher 2017-11-08 22:04

>>52
Me too my friend! Feel free to post some, I will do it when I have a surge of creativity

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List