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

Is Lua a good scripting language?

Name: Anonymous 2011-07-25 14:41

Is it?

Name: Anonymous 2011-07-26 20:50

>>30
does it do it the Ruby way or the Python way?
Coffeescript starts lexical scope at the point of inititialization, I dont know how its done in Python or Ruby

actually I just discovered Kaffeine, which is better than Coffeescript
http://weepy.github.com/kaffeine/

Name: Anonymous 2011-07-26 23:08

indentation is used instead of curly braces, as in Python and Haskell.
Don't want.

Name: Anonymous 2011-07-26 23:20

C/C++

printf("Matthew says 'Ba-ba-ba!'")


CoffeeScript:

class Human
  constructor: (@name) ->
 
class Baby extends Human
  say: (msg) -> alert "#{@name} says '#{msg}'"
  say_hi: -> this.say('Ba-ba-ba!')
 
matt = new Baby("Matthew")
matt.say_hi()

Name: Anonymous 2011-07-26 23:29

>>41
Implicit variable declarions:
Kaffeine (like most other scripting languages) does not require variables to be declared, as (let (x 123) ...) in Lisp or int x = 123 in C/C++. This means that Python can't even detect a trivial typo - it will produce a program, which will continue working for hours until it reaches the typo - THEN go boom and you lost all unsaved data. Local and global scopes are unintuitive. Having variables leak after a for-loop can definitely be confusing. Worse, binding of loop indices can be very confusing

Name: Anonymous 2011-07-27 3:18

>>43
That was ``in Lisp'' quality!

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