Discuss Scratch

Blueinkproductions
Scratcher
1000+ posts

code golf

Chibi-Matoran wrote:

Blueinkproductions wrote:

Racket:
"Hello world!"
13, no bonus.
EDIT: forgot [code] tags.
*14
Oops

Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
____                  _____  _______              
| \ | | | | | |\ | | /
|___/ | | | |__ | | \ | |/
| \ | | | | | | \ | |\
| | | | | | | | \ | | \
|___/ L____ \___/ |_____ ___|___ | \| | \
PRODUCTIONS





















































Here's a hint: support = support.

<shameless self promotion>follow me! follow me! follow me! love my stuff! love my stuff! love my stuff! follow me! love my stuff! remix my stuff! follow me! follow me! </shameless self promotion>
Pietu1998
Scratcher
1 post

code golf

Pyth, 13 bytes
"Hello World!
Pyth is another one of these fun golf languages. Here's the online interpreter.
MegaApuTurkUltra
Scratcher
1000+ posts

code golf

Pietu1998 wrote:

Pyth, 13 bytes
"Hello World!
Pyth is another one of these fun golf languages. Here's the online interpreter.
Fun?

Annoying? More like it

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
-Io-
Scratcher
1000+ posts

code golf

I just realized that the no bonus version of the Lua code is lighter…

Lua, 22 bytes
print("Hello, world!")

WooHooBoy
Scratcher
1000+ posts

code golf

MegaApuTurkUltra wrote:

Pietu1998 wrote:

Pyth, 13 bytes
"Hello World!
Pyth is another one of these fun golf languages. Here's the online interpreter.
Fun?

Annoying? More like it
^^^^

considered harmful
DigiTechs
Scratcher
500+ posts

code golf

-Io- wrote:

Lua, 66 * 50% = 33 bytes
print(string.char(72,101,108,108,111,44,32,87,111,114,108,100,33))
I'm not good doing short codes, so here it is lol

Lua, 21 bytes * 50% = 10.5 bytes (or 11, I don't know which way to round)
print[[Hello World!]]

EDIT: whoops I forgot to BBCode properly

Last edited by DigiTechs (Nov. 10, 2015 17:36:55)


I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
-Io-
Scratcher
1000+ posts

code golf

DigiTechs wrote:

-Io- wrote:

-snip-
I'm not good doing short codes, so here it is lol

Lua, 21 bytes * 50% = 10.5 bytes (or 11, I don't know which way to round)
print[[Hello World!]]

Oh, *, i forgot you don't always need parentheses and that you can use [[]]
Oh well, i don't think i can copy your code so here are my other entries 2-3 bytes shorter
(Is the comma necessary?)

Lua, 20 bytes
print"Hello, world!"
Lua, 19 bytes
print"Hello world!"

EDIT: oh, oh! if REPL counts (i don't think so lol) then here is another one
REPL Lua, 18 * 50% = 9 bytes. Comma-less: 17 * 50% = 8.5 bytes
=[[Hello, world!]]

Last edited by -Io- (Nov. 10, 2015 17:47:57)


Powered by DjangoBB