Op 2005-05-16, Bengt Richter schreef <[EMAIL PROTECTED]>:
> On Mon, 16 May 2005 18:40:43 +0200, Stefan Nobis <[EMAIL PROTECTED]> wrote:
>
>>rbt <[EMAIL PROTECTED]> writes:
>>
>>> True beginners (no programming experience whatsoever) don't have
>>> to deal with unlearning stuff such as the bracket p
[EMAIL PROTECTED] (Bengt Richter) writes:
[block end statements]
> Training wheels do no belong as a permanent part of a bicycle,
Yes, but they would be useful for example in web programming
(embedding Python into HTML), too. So they are not only training
wheels.
But that's not so important. Wha
On Mon, 16 May 2005 18:40:43 +0200, Stefan Nobis <[EMAIL PROTECTED]> wrote:
>rbt <[EMAIL PROTECTED]> writes:
>
>> True beginners (no programming experience whatsoever) don't have
>> to deal with unlearning stuff such as the bracket plague.
>
>That's true. But they also not very used to give nothin
Andrew Dalke <[EMAIL PROTECTED]> writes:
> See the program "pindent.py"
Thanks for the hint, i didn't know about it.
--
Stefan.
--
http://mail.python.org/mailman/listinfo/python-list
Stefan Nobis wrote:
> From time to time I teach some programming (in an institution
> called "Volkshochschule" here in Germany -- inexpensive courses
> for adults). My Python course is for absolute beginners with no
> previous programming experience of any kind.
I also taught a beginning programmi
Stefan Nobis wrote:
> rbt <[EMAIL PROTECTED]> writes:
>
>
>>True beginners (no programming experience whatsoever) don't have
>>to deal with unlearning stuff such as the bracket plague.
>
>
> That's true. But they also not very used to give nothing (->
> whitespace) a meaning. I teached quite so
rbt <[EMAIL PROTECTED]> writes:
> True beginners (no programming experience whatsoever) don't have
> to deal with unlearning stuff such as the bracket plague.
That's true. But they also not very used to give nothing (->
whitespace) a meaning. I teached quite some beginners and most of
them had pr
Andrew Dalke <[EMAIL PROTECTED]> writes:
> When you say "beginners" is that people with no previous
> programming experience
>From time to time I teach some programming (in an institution
called "Volkshochschule" here in Germany -- inexpensive courses
for adults). My Python course is for absolute
Andrew Dalke wrote:
> Stefan Nobis wrote:
>
>>The other point is a missing (optional) statement to end blocks
>>(so you optional don't have to mark block via whitespace). IMHO
>>this comes very handy in some cases (like mixing Python and HTML
>>like in PSP). From my experience i also would say beg
Stefan Nobis wrote:
> The other point is a missing (optional) statement to end blocks
> (so you optional don't have to mark block via whitespace). IMHO
> this comes very handy in some cases (like mixing Python and HTML
> like in PSP). From my experience i also would say beginners have
> quite some
"LDD" <[EMAIL PROTECTED]> writes:
> The fact that python doesn't check if the symbol
> AFunctionThatIsntDefined is defined, is really bad when you
> develop big pieces of code.
Yes, that's one of my two points, that i think are misfeatures in
Python, too. The problem is, that Python don't disting
Dennis Lee Bieber <[EMAIL PROTECTED]> writes:
> Or the infamous, and maybe urban legend, of the early FORTRAN
> compiler in which literal constants weren't...
>
> call inc(1)
> write(6, 100) 1
> 100 format("I5")
>
>
> subroutine inc(i)
> i = i + 1
> retur
[EMAIL PROTECTED] wrote:
> 2. Trust me (and other Python programmers most likely would agree)
this
> type of error happens much more seldom then newbies (especially
coming
> from strongly typed languages) imagine while adjusting to the
language.
>
> 3. Python advantages "overpower" drawbacks 10
On 8 May 2005 02:59:22 -0700, "LDD" <[EMAIL PROTECTED]> wrote:
>Be reassured, I'm not working in any business related to pacemakers,
>avionics or railway signalling equipement ... :)
>
>I'm just a guy who is learning Python because to me it seems to be the
>best alternative to Perl, and trying
>To win this point, you need to produce evidence that doesn't exist.
I was not trying to win any point when I put my naive question on this
forum.
I'm just learning Python and trying to know what it is best made for.
So far I've learnt that Python is lazy about tyche-checking, it is
dynamic by na
Be reassured, I'm not working in any business related to pacemakers,
avionics or railway signalling equipement ... :)
I'm just a guy who is learning Python because to me it seems to be the
best alternative to Perl, and trying to know what it is fit for.
--
http://mail.python.org/mailman/listi
On 7 May 2005 15:05:20 -0700, "LDD" <[EMAIL PROTECTED]> wrote:
>Hi everyone,
>
>I am new to python and was very enthustic about its possibilities when
>I discover that python is really what it is : just a scripting
>language.
>
>What disappoints me is that pyton will happily accept and execute thi
> I am new to python and was very enthustic about its possibilities
when
> I discover that python is really what it is : just a scripting
> language.
..
> The fact that python doesn't check if the symbol ... is defined, is
really bad ...
1. For a language like Python full static checking is IM
> What disappoints me is that pyton will happily accept and execute
this
> code :
>
> if ( aConditionThatIsFalse ):
> AFunctionThatIsntDefined()
>
> print "Hello world"
>
> The fact that python doesn't check if the symbol
> AFunctionThatIsntDefined is defined, is really bad when you develop
bi
On 7 May 2005 15:05:20 -0700, "LDD" <[EMAIL PROTECTED]> wrote:
>Hi everyone,
>
>I am new to python and was very enthustic about its possibilities when
>I discover that python is really what it is : just a scripting
>language.
Not "just."
>
>What disappoints me is that pyton will happily accept an
"LDD" <[EMAIL PROTECTED]> writes:
> I am new to python and was very enthustic about its possibilities when
> I discover that python is really what it is : just a scripting
> language.
That "just" covers a *very* big application space. So-called scripting
languages are being used in an ever-wideni
I do not know of a check like the one you desire. But you always can
use some clever testing, e.g. facilitated with the unittest module to
prevent situations like yours, see
http://docs.python.org/lib/module-unittest.html
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 07 May 2005 15:05:20 -0700, LDD wrote:
> The fact that python doesn't check if the symbol
> AFunctionThatIsntDefined is defined, is really bad when you develop big
> pieces of code. You will never be sure that your code is free of this
> kind of dummy errors and testing every possible execu
Hi everyone,
I am new to python and was very enthustic about its possibilities when
I discover that python is really what it is : just a scripting
language.
What disappoints me is that pyton will happily accept and execute this
code :
if ( aConditionThatIsFalse ):
AFunctionThatIsntDefined()
24 matches
Mail list logo