r/Python • • Dec 09 '10

new stand-alone web2py database abstraction layer

http://web2py.com/AlterEgo/default/show/272
18 Upvotes

82 comments sorted by

View all comments

Show parent comments

1

u/mdipierro Dec 09 '10

It is not true a single file is difficult to extend and maintain. The dal.py file for example is divided into sections seperated by comments. Almost all functions are grouped into classes.

So far the issue of license never came up because web2py allows commercial closed source distribution of apps developer with web2py. I can see that if you want to use ONLY the DAL, it may be better for you to have a MIT/BSD vs a GPL license.

The point is that I am happy if you use this for free as long as you contribute back by giving your work for free too (that is what GPL says). Anyway, I will think about LPGL.

2

u/[deleted] Dec 10 '10 edited Dec 10 '10

Do you actually believe a single file of 5 freaking KLOC is not difficult to extend and maintain?

His argument about the GPL not being as liberal as BSD/MIT is exactly that

use this for free as long as you contribute back by giving your work for free

So it takes away your freedom to hide other parts of your code that use that library.

One may want to prevent other people from seeing their code for a number of reasons, It's a choice one should be free to make

BTW the GPL doesn't require you to give your work for free it just requires you to redistribute your work along with your sourcecode along with the GPL license

1

u/birlinn Dec 10 '10

if that 'freedom' is so important to you, write your own code...

it strikes me as rude to lecture someone, who has written a bunch of useful code and made it available to the world for free, about how it 'takes away your freedom' if you can't do exactly as you please with it...

1

u/[deleted] Dec 10 '10

When I give away code for free you are free to do whatever you want with it.

0

u/birlinn Dec 10 '10

good for you: doesn't give you the right to be a jackass to other people who don't share your view...

1

u/[deleted] Dec 10 '10 edited Dec 10 '10

If you are following the discussion you'll notice it's quite civilized. At least no one was being called a jackass up until now.

Massimo and everyone else who posts links to their work here should accept both positive and negative criticism. If he doesn't agree with my world view so be it. He may also not agree with me on wether a 5 KLOC file is too much, but you don't seem to have a problem with that part of the discussion.

If he decides to keep it GPL so be it, I may or may not decide to use it. If he decides to keep it 1 x 5 KLOC I may or may not decide to look at it or fix it if it's broken. People find his work useful. And I respect the man.

0

u/birlinn Dec 10 '10

for small values of civilised maybe...

i'm glad you do, it certainly didn't sound like it...