Reply to post: FP solution

Learn you Func Prog on five minute quick!

DeliberatusFreeman

FP solution

ok, flip them all off and write in FORTH, the most OO language on earth. If THIS does not teach you to factor, stuffit and become a microsoft 'droid.

def byenow: ."And now goodbye." ;

def hello: ."Hello world!" byenow ;

>?_hello

Hello World!

Andnow goodbye.

>?_

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019