RE: ewby on programming need some tips and tricks

  • From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 8 Dec 2008 19:00:38 -0500

Python was originally designed for rapid development.  Like pearl it is
created so you can run an interpreter and test code as you go.  I can attest
to the speed of development I built an entire applet last night.  That is
the strength of all interpreted languages but python goes one step further.
They make it extremely simple to tie other languages for example we needed
an audio library for the device we were using and there were only c and c++
audio libraries and we created a object for both so now Python can access
them.  Its quick and painless.  There are also libraries to speed up the
sorting and many operations in python and you can pick or discard them as
easy as coding in the language. Pearl has this ability as well but I don't
feel it's as easy to do in Pearl but that might just be my opinion.  

You can write a function and then a few seconds later decide you want that
function in a class so you stack class on the top of it and add self to the
first argument and it's now a class.  You could be writing a class and find
that it would have been simpler if you just had two functions so you delete
one line and remove two words and your done.  Try that in Java Oh wait Java
has no function like language.  The only problem I see with python is there
is no information hiding per say.  If I write a class and have a member
variable of my_member.  Someone can easily change it by going
your_class.my_member=bla.   This can be seen as good or bad.  You can choose
to follow object paradigms or get nasty and change all kinds of underlying
members the way you want.

Python can be as clean as you want or as dirty, long winded or brief, the
thing I found cool was it wasn't work to think in Python because I could
take the way I code in c, c++, and even Java and port it right over and just
start  wacking out code.

Anyway I have more code to write tonight so no matter what the rest of these
61 messages say this will be all I say tonight.

Ken

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian Rasnita
Sent: Monday, December 08, 2008 3:39 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: ewby on programming need some tips and tricks

Oh yes I am listening. What do you mean by "better in its development
cycle"?
Do you mean that the programs created with python can be easier modified
than if they are written in other languages?
Or something else?

If the first is true, then I know why I didn't find it interesting until
now, so I hope it has other good features.


Octavian

----- Original Message ----- 
From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, December 08, 2008 1:10 AM
Subject: RE: ewby on programming need some tips and tricks


> 
> 
> Python is better than other languages in its development cycle.  Like
pearl
> it is made as a rapid development language.  I could go on but you're not
> listening.
> 
> Ken
> 
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian
Rasnita
> Sent: Sunday, December 07, 2008 12:56 PM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: ewby on programming need some tips and tricks
> 
> I didn't say that python is strongly typed. Where have you read that?
> I said that most software companies prefer to use strongly typed languages

> because they are easier to use by a team of programmers.
> 
> And you didn't show any example for which python would be better than
other 
> languages.
> 
> If you like coding, that's ok. I am the lazy type that like to write as 
> little code as possible, and that's why I like perl, because I can use the

> modules from CPAN and need to write very little code.
> You are not probably that type, because only in that case you can convert 
> your programs from perl to something else.
> 
> Octavian
> 
> ----- Original Message ----- 
> From: "Ken Perry" <whistler@xxxxxxxxxxxxx>
> To: <programmingblind@xxxxxxxxxxxxx>
> Sent: Sunday, December 07, 2008 6:11 PM
> Subject: RE: ewby on programming need some tips and tricks
> 
> 
>>
>>
>> You do not know what you're talking about so I will stop arguing with
you.
>> Python is not strongly typed, I do not like python because it is object
>> oriented. And no I don't think that everyone works with other coders.  I 
>> do
>> think that more coders work in groups than work alone because if you
>> actually have enough software sales you will have to team up with others.
>> You are just running in circles and arguing yourself into a Teddy world. 
>> It
>> is not a Teddy world and unless you have even programmed one application 
>> in
>> Python you have no reason to talk against it.  And I mean a real 
>> application
>> not some toy.  I have coded in your favorite language and I see little
>> difference between pearl except one uses braces like C and one doesn't so
>> unlike you I have coded in both.  In fact my commercial software still 
>> uses
>> pearl even though I am actually thinking now that I code in python on a
>> regular bases I might switch that code to python.
>>
>> Ken
>>
>> -----Original Message-----
>> From: programmingblind-bounce@xxxxxxxxxxxxx
>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Octavian 
>> Rasnita
>> Sent: Sunday, December 07, 2008 3:59 AM
>> To: programmingblind@xxxxxxxxxxxxx
>> Subject: Re: ewby on programming need some tips and tricks
>>
>> Oh yes we mean something different by "accessibility".
>>
>> Good practice coding is not something absolutely true for everyone, but
it
>> it means more exactly "good practice for the sighted programmers".
>> Well, I don't work in a team of sighted programmers, so I don't care
about
>> those good practices, because I am the single person that should use that
>> source code.
>>
>> So you are talking about the accessibility especially for the sighted you
>> need to work with, and care less that you need to find workarounds to use
>> the language.
>>
>> And you also talk about good practices which are used only in some
>> situations. You say that python is objected oriented and that's why you 
>> like
>>
>> it.
>> You can create object oriented programs in Java, C#, Ruby, perl and many
>> other languages that don't force you to indent the code, so this is not
an
>> advantage of python when compare it with other languages.
>>
>> I know, most software companies like to use strongly typed languages and
>> those who force the programmer to do a "one way" coding style, because 
>> this
>> way all the members of the team can understand the code easier. But do
you
>> think that all the programmers in the world work in teams, or that all
the
>> blind programmers work in teams with other sighted programmers?
>>
>> If they do and they need to accomodate with a certain language, than it
is
>> ok, python can be used by the blind, I didn't say that it can't be used, 
>> but
>>
>> what I said it was that it is less friendly than other languages, and you
>> can't say that this is not true. If you need to find workarounds for
>> something, this mean that there is a problem there.
>>
>> Octavian
>>
>> ----- Original Message ----- 
>> From: "Nick Stockton" <nstockton@xxxxxxxxx>
>> To: <programmingblind@xxxxxxxxxxxxx>
>> Sent: Sunday, December 07, 2008 2:22 AM
>> Subject: Re: ewby on programming need some tips and tricks
>>
>>
>>> Python teaches good coding practices and it's not that hard to indent. 
>>> In
>>
>>> fact most programmers that use an IDE don't even bother as the program
>>> does it for them.  I dare say that visual studio is probably allot
harder
>>> to use by far if you don't happen to own a copy of jaws or windoweyes 
>>> with
>>
>>> their respective scripts.  I could also say that Windows isn't as
>>> accessible as the linux console as windows uses pixels to represent
>>> textual information rather then... text but windows like python and 
>>> visual
>>
>>> studio can be made accessible.
>>> I think we have different definitions of what accessibility means.  I
>>> define accessibility for myself as being able to independently
accomplish
>>> the same tasks as my sighted counterparts using the same tools that they
>>> use.  If I have a program that doesn't fit my needs fully I try to find
a
>>> work around, After all no language is perfect.  They each have their
good
>>> and bad points.
>>> If I'm motivated to write a program I'm going to do my best and give it 
>>> my
>>
>>> 100%.  I personally think python is a good programming language because
>>> its powerful yet easy to learn and because it teaches good coding
>>> practices and object oriented programming.  Why should I be excluded
from
>>> learning the same programming languages and good coding standards that 
>>> the
>>
>>> sighted programmers have to use.  It would be  worse as the exclusion
>>> would be self-imposed.  Just because you don't like python doesn't mean
>>> that others wont.  Neither of us can speak for the blind community and
so
>>> labeling a language we don't like with a blanket term of inaccessibility
>>> when others have stated that it's quite accessible is silly.
>>>
>>> Nick Stockton
>>> ----- Original Message ----- 
>>> From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
>>> To: <programmingblind@xxxxxxxxxxxxx>
>>> Sent: Saturday, December 06, 2008 5:04 PM
>>> Subject: Re: ewby on programming need some tips and tricks
>>>
>>>
>>>> But how do you know what is easy for the blind community?
>>>> Have you made a poll?
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>> 
> 
> __________
> View the list's information and change your settings at 
> //www.freelists.org/list/programmingblind
> 
> __________
> View the list's information and change your settings at 
> //www.freelists.org/list/programmingblind
>
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: