lua-users home
lua-l archive

Re: How am I supposed to use yaci library?(Yet Another Class Implementation)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Andrew Starks

Thank you for the information.
Does penligh's class library support virtual function?

It looks good but I cannot find virtual function there.

Journeyer


----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2014年02月25日 11:03 GMT+09:00 Andrew Starks <andrew.starks@trms.com>:


On Monday, February 24, 2014, Journeyer J. Joh <oosaprogrammer@gmail.com> wrote:
Hi Roland,

It was my mistake. Yes it is exactly 30 lines! And there is 30logclean.lua.
And the framework love is very interesting, there is korean page also. Very much impressive!

Thank you for providing me very useful information.

Thank you
Journeyer

----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------


2014年02月25日 0:33 GMT+09:00 Ousmane Roland Yonaba <roland.yonaba@gmail.com>:



On 2014年2月24日 15:40:39, "Journeyer J. Joh" <oosaprogrammer@gmail.com> wrote:

Hi Ousmane Roland Yonaba

Thank you for good recommendation.

middleclass has so many watches, stars and forks

Let me look into it also.

And the 30log is interesting - it gives me a question why you want it to be
only 30 lines. You know it is now 31 lines ^^; one line to be removed?

I will look into those.. Thank you very much.

Sincerely
Journeyer


----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------



Hi Joh,

Well, it's 30 lines, as shown in Github (30 source line of code : sloc).
And well, it's not that I wanted it to be 30lines, I had to, somehow.
Part the story is written here [1], and the how-it-all-began story can be found on love2d.org forums [2].
Glad it helped, anyway.



I've been using Penlight's class library with great success. It works well, especially when you use the class.properties base class. This gives you getter and setter functions for properties. 

The nice thing is that it comes as a part of penlight, which always deserves a mention when talking about generally useful libraries. 

-Andrew


AltStyle によって変換されたページ (->オリジナル) /