I agree too.
Based on limited knowledge of what you’re up to, here’s how I might have
expected it to look.
from rigbuilder import skeleton
skeleton.build()
- No acronyms
- package and modules are included in how you read the code
- functions for verbs (classes for names of things)
Per
wow, I am so glad I asked. It very interesting your points of view, and
very clarifying.
Let me be a little more specific, because that might change some things.
I set my maya environment root to a folder called --> rigbuilder. So this
is just a folder, no package.
Then inside, I have 3 packages:
wow, I am so glad I asked. It very interesting your points of view, and
very clarifying.
Let me be a little more specific, because that might change some things.
I set my maya environment root to a folder called --> rigbuilder. So this
is just a folder, no package.
Then inside, I have 3 packages:
Consider how it would affect the readability of your project if you:
a) removed the rb prefix and
b) made each class into a module
At the moment, rb is used as a namespace. In languages such as C, you need
those to avoid nameclashes and to make your code look readable. But Python
has a nicer way
Hi Folks
Am trying to make a maya plugin node which can generate bunch
of curves between input curves. Say like i have guide curves and I need to
generate high density curves between them.
Am wondering if there is already some existing solution for this, if not do
any of you have any s
yes, the rb prefix is annoying. I think it makes more cense put all the
modules together intead of diferent packages. So the main package would be
rigbuilder, and the modules would be guides and skeleton. I will maintain
solutions as a package tough.
(I can' t remove classes because the code is
About style, that is all fine. But if you're in a team, maybe try to think
less about what you prefer, and consider the preference of those reading,
and potentially maintaining your code.
Even amazing programmers will appreciate having their preference considered.
--
You received this message b
>
> The 80 characters per line, is definitely crazy
When I started programming in python (and that was about 10 years ago) I
thought the same. More so, when we have four spaces per indent. But then,
now I am completely comfortable with 80 characters per line. There are ways
to get your code to loo
Your explanation is very reasonable. I try to write code in a beautiful and
readable way always,
This is a test to compare.
PEP-8
3. Inside strings too:
class MyClass(object):
def someMethod(
some_big_argument_name,
another_big_argument,
and_yet_another_huge_argumen
Your explanation is very reasonable. I try to write code in a beautiful and
readable way always,
This is a test to compare.
PEP-8
class MyClass(object):
def someMethod(
some_big_argument_name,
another_big_argument,
and_yet_another_huge_argument_name
):
I like strawberry.
I think strawberry is the best flavour. It tastes good, has the right
nutrition and makes every dish I make taste good too.
For my family of 10, I will make strawberry meals all day because it is
what I prefer.
I don't care about what the others like, because they don't share
>
> Strawberry isn't wrong. But tastes differ, and best you can do is cook
> something that the largest amount of family members will like.
@marcus: My apologies but I fail to get the point. Is it for or against the
use of PEP-8?
On Sun, Sep 25, 2016 at 10:35 PM, Marcus Ottosson
wrote:
> I lik
>
> And I don´t think it is uglier
Both are readable for sure, I agree, 120 is not bad at all. It is good to
see that you put some thought not only what your code does but also how
does it look.
Just another piece of advise - For the perspective of version control
system in particular, there is
If you have chosen the style, such as strawberry, preferred by the highest
percentage of your family, then you are doing it right. :)
strawberry: 7/10 <- winner!
pear: 2/10
marmite: 1/10
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Aut
Thanks Alok.
See, some people think that, because they have a lot experience and
talent(like marcus, and obviously he is very talented), they have they
right to insult, using sarcastic comments, the people who are learning and
asking questions.
( or maybe it is just with me, who knows). I am ve
Hey Rudi
On Mon, 26 Sep 2016, 4:45 AM Rudi Hammad wrote:
> Thanks Alok.
>
> See, some people think that, because they have a lot experience and
> talent(like marcus, and obviously he is very talented), they have they
> right to insult, using sarcastic comments, the people who are learning and
>
>
> Thanks Alok.
> See, some people think that, because they have a lot experience and
> talent(like marcus, and obviously he is very talented), they have they
> right to insult, using sarcastic comments, the people who are learning and
> asking questions.
> ( or maybe it is just with me, who knows
On Mon, Sep 26, 2016 at 11:53 AM Alok Gandhi
wrote:
> Thanks Alok.
>> See, some people think that, because they have a lot experience and
>> talent(like marcus, and obviously he is very talented), they have they
>> right to insult, using sarcastic comments, the people who are learning and
>> aski
18 matches
Mail list logo