Luna pretends to know Lua

2016-05-14


2016-05-14 21:05:31 | Clownpiece: A PS4 joined... Since when can consoles play games on the PC???
2016-05-14 21:05:43 | [CUBE] Marvento: wut?
2016-05-14 21:05:48 | Morket: Oh shit they're evolving
2016-05-14 21:06:28 | Luna:  /run PS4.returnAsString.IP()
2016-05-14 21:06:58 | Dashie~: these functions
2016-05-14 21:07:04 | Dashie~: why they so easy?
2016-05-14 21:07:13 | Luna: It's actually easier
2016-05-14 21:07:16 | Dashie~: ._.
2016-05-14 21:07:18 | Dashie~: pls
2016-05-14 21:07:28 | Luna: Literally just name.IP()
2016-05-14 21:07:34 | Luna: For Lua
2016-05-14 21:07:42 | Dashie~: for JC2MP?
2016-05-14 21:07:46 | Luna: Aye
2016-05-14 21:07:50 | Dashie~: that makes sense...
2016-05-14 21:08:12 | Dashie~: kinda forgot how simple JC2MP was to program shit in
2016-05-14 21:08:24 | Luna: args.player:GetIP()
2016-05-14 21:08:32 | Luna: args being additional arguments
2016-05-14 21:08:36 | WizardOfNthContinuum: Nerd
2016-05-14 21:08:37 | Dashie~: mhm
2016-05-14 21:08:38 | Luna: player being the id of the player
2016-05-14 21:08:41 | Dashie~: no shit
2016-05-14 21:08:54 | Morket: Still too advanced for me

22:54 - DaAlpha: Currently archiving them logs
22:55 - DaAlpha: This other fake coding line from Aurora
22:55 - DaAlpha: 2016-05-14 21:06:28 | Luna:  /run PS4.returnAsString.IP()
22:55 - DaAlpha: I thought about it.
22:55 - DaAlpha: It is at least as wrong.
22:56 - DaAlpha: Like, even if we assume PS4 is an instance/object and not just a class, if you return it as a string (not even asking how you return a PS4 as string), how would you call the method IP() on that string? Because a string sure as hell does not have such method. And even if it had one, it would sure as fuck not give you the result you are looking for.
22:56 - DaAlpha: And the way PS4 is written (in capital letters), it looks more like a constant or a class instead of an object.
22:57 - DaAlpha: Plus, a method called IP() would be quite retarded really.
22:57 - DaAlpha: Because quite frankly, there are coding conventions.
22:57 - DaAlpha: And one of those is to label get and set methods as such.
22:57 - DaAlpha: So the more correct one would be
22:57 - DaAlpha: ps4.getIP().returnAsString()

// at this point (April 2018) I would probably come up with some more objections
// but I will leave this as it is