Python problems...
-
Most editors can, but they tend to default to "use tabs" to save file space. And some only do it for modified lines, and ... it's a mess. Just don't use Python is my advice! :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
OriginalGriff wrote:
Just don't use Python is my advice!
Friends don't let friends use Python. I attempted to learn it a few moons back and found the tab-space thing to much of a deterrent.
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com Latest Article: Simon Says, A Child's Game
-
Most editors can, but they tend to default to "use tabs" to save file space. And some only do it for modified lines, and ... it's a mess. Just don't use Python is my advice! :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
Quote:
Just don't use Python is my advice! Laugh | :laugh:
I'm with you, but "it's so simple and easy to use..." crowd are in force!
-
Most editors can, but they tend to default to "use tabs" to save file space. And some only do it for modified lines, and ... it's a mess. Just don't use Python is my advice! :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
It is scripted so it's slower than .NET code. And the UI? :~
-
It is scripted so it's slower than .NET code. And the UI? :~
UI what UI?
-
Hi All, Being strongly encouraged (read forced) to use Python for a test rig. Okay need to get down with Kids etc. but syntactic white space 'align your tabs' (who came up with that, is it 1988, am I using a BBC micro) oh gord!!!:mad:
I refer to it as "invisible source code" because that's what significant whitespace is. And it's just as stupid as it sounds. How do you debug that which you cannot see? It's risible.
To err is human. Fortune favors the monsters.
-
I refer to it as "invisible source code" because that's what significant whitespace is. And it's just as stupid as it sounds. How do you debug that which you cannot see? It's risible.
To err is human. Fortune favors the monsters.
With 8 Bit micros it made sense, when I jumped to 16 Bit (Amiga 500, Amiga Basic, AMOS, C & 68K assembly!) no spaces. Why with a new language?
-
Hi All, Being strongly encouraged (read forced) to use Python for a test rig. Okay need to get down with Kids etc. but syntactic white space 'align your tabs' (who came up with that, is it 1988, am I using a BBC micro) oh gord!!!:mad:
glennPattonWork3 wrote:
...but syntactic white space 'align your tabs'
It's like COBOL or RPG. X|
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
glennPattonWork3 wrote:
...but syntactic white space 'align your tabs'
It's like COBOL or RPG. X|
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
We battled those demons and sent them packing! OK a lot of stuff was written in COBOL because there was assembly and COBOL, COBOL gave you an error message, assembly didn't.
-
Hi All, Being strongly encouraged (read forced) to use Python for a test rig. Okay need to get down with Kids etc. but syntactic white space 'align your tabs' (who came up with that, is it 1988, am I using a BBC micro) oh gord!!!:mad:
-
glennPattonWork3 wrote:
...but syntactic white space 'align your tabs'
It's like COBOL or RPG. X|
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
:shudder: Not to diss on COBOL, but after thirty+ years I still remember having to help a fellow college student debug a COBOL program which wasn't working. She had used TABs to pad a string to the desired length -- it looked OK on a VT100, but the compiler knew better.
-
I refer to it as "invisible source code" because that's what significant whitespace is. And it's just as stupid as it sounds. How do you debug that which you cannot see? It's risible.
To err is human. Fortune favors the monsters.
Considering it was named after the people who gave us the Ministry of Silly Walks, Dead Parrots, and the Argument Sketch, what else would you expect?
honey the codewitch wrote:
It's risible.
Had to look that word up, which caused me to be risible.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.
-
Hi All, Being strongly encouraged (read forced) to use Python for a test rig. Okay need to get down with Kids etc. but syntactic white space 'align your tabs' (who came up with that, is it 1988, am I using a BBC micro) oh gord!!!:mad:
Ya get used to it ;) (The thing that will do your head in is the error when you keep trying to do
!var
) Oh, and good luck with PIP. You've got this! :thumbsup::thumbsup:cheers Chris Maunder
-
Ya get used to it ;) (The thing that will do your head in is the error when you keep trying to do
!var
) Oh, and good luck with PIP. You've got this! :thumbsup::thumbsup:cheers Chris Maunder
Oh :bob: I hope so...
-
Ya get used to it ;) (The thing that will do your head in is the error when you keep trying to do
!var
) Oh, and good luck with PIP. You've got this! :thumbsup::thumbsup:cheers Chris Maunder
There just something about **Value, my brain says 'Pointer to a pointer, what witchcraft is this!!!'
-
OriginalGriff wrote:
Just don't use Python is my advice!
Friends don't let friends use Python. I attempted to learn it a few moons back and found the tab-space thing to much of a deterrent.
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com Latest Article: Simon Says, A Child's Game
Friends don't let friends use TABs.
-
Ya get used to it ;) (The thing that will do your head in is the error when you keep trying to do
!var
) Oh, and good luck with PIP. You've got this! :thumbsup::thumbsup:cheers Chris Maunder
-
It is scripted so it's slower than .NET code. And the UI? :~
There's Codon for that: [^]Python-based compiler achieves orders-of-magnitude speedups | MIT News | Massachusetts Institute of Technology[^]
>64 Some days the dragon wins. Suck it up.
-
Friends don't let friends use TABs.
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com Latest Article: Simon Says, A Child's Game
-
I refer to it as "invisible source code" because that's what significant whitespace is. And it's just as stupid as it sounds. How do you debug that which you cannot see? It's risible.
To err is human. Fortune favors the monsters.
-
glennPattonWork3 wrote:
...but syntactic white space 'align your tabs'
It's like COBOL or RPG. X|
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
David Crow wrote:
glennPattonWork3 wrote:...but syntactic white space 'align your tabs'It's like COBOL or RPG. X|
With 1 very important difference. With only assembler to build from and the extremely limited capabilities of computers when those languages were designed, rigid assignment of columns of code for specific purposes wasn't an unreasonable choice to make things easier for the compiler and compiler authors and was a major step forward from the prior state of the art. The chuckle:elephant:s guilty of designing python have no such excuse.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius