Posted by DInsane on 05:17:00 09-02-2003
I searched over and under in this forum for anything related to Python. Does anyone else around here know Python?
Posted by TroyBug on 09:49:00 09-02-2003
Im learning python, though I don't fully understand everything about it yet.
Posted by DInsane on 10:42:00 09-03-2003
At least someone else is interested in Python, or doing something involved with Python. I'd have to say it's the easiest language I know. (Well, besides HTML, CSS, and all of those )
I love Python
Posted by cowsarenotevil on 10:59:00 09-03-2003
It's good in many aspects, and shines in OOP/ease of use, but I haven't used it much. I like C++ and VB more. Maybe I'll get back into python though, who knows?
Posted by DInsane on 06:18:00 09-05-2003
I mainly only use Python for personal use, in fact, I haven't released one Python script to the public.
[addsig]
Posted by dxprog on 00:40:00 09-06-2003
I'm probably going to have to learn it for use with Blender.
[addsig]
Posted by ap on 05:40:00 09-07-2003
I don't really like how it forces a certain style of indentation on the programmer. I suppose it's beneficial in some respects, but I personally consider it a bit annoying. Other than that, it's a pretty fine language.
Posted by DInsane on 10:18:00 09-09-2003
Well, considering I use an interpretor, I don't really mind the indentation, since it automatically does it. But, I looooove Python.
(Not as much as my right hand woman PHP though )
[addsig]
Posted by inhahe on 16:13:00 09-21-2003
Quote:
On 2003-09-07 05:40, ap wrote:
I don't really like how it forces a certain style of indentation on the programmer. I suppose it's beneficial in some respects, but I personally consider it a bit annoying. Other than that, it's a pretty fine language.
how else would you indent it?
Posted by DInsane on 09:17:00 09-23-2003
What he means is, not indent it at all. Or, prog it just like you would for anything else, with spaces here, comments there, and more so it's easier to read. Which of the two is easier to read?
Code:
<?php
function whichissmaller($one,$two) { if ($one < $two) { echo "One's smaller"; } else { echo "Second's smaller"; } }
whichissmaller(7,4);
?>
or
Code:
<?php
function whichissmaller($one,$two) {
if ($one < $two) {
echo "One's smaller";
} else {
echo "Second's smaller";
}
}
whichissmaller(7,4);
?>
Obviously, the first one is easier to read/understand.
_________________
||DrewBurns.com||
||Longing for a Mac||
||Coding with Windows||
||Can you say "backup"?||
[ This Message was edited by: DInsane on 2003-09-23 09:18 ]