Click here to Skip to main content
15,911,762 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why this sudden hype for Python? Pin
Slacker0073-Oct-17 1:42
professionalSlacker0073-Oct-17 1:42 
GeneralRe: Why this sudden hype for Python? Pin
Michael Breeden4-Oct-17 1:50
Michael Breeden4-Oct-17 1:50 
GeneralRe: Why this sudden hype for Python? Pin
Nathan Minier3-Oct-17 1:45
professionalNathan Minier3-Oct-17 1:45 
GeneralRe: Why this sudden hype for Python? PinPopular
Marc Clifton3-Oct-17 2:08
mvaMarc Clifton3-Oct-17 2:08 
GeneralRe: Why this sudden hype for Python? Pin
sir_download_alot3-Oct-17 22:20
professionalsir_download_alot3-Oct-17 22:20 
GeneralRe: Why this sudden hype for Python? Pin
atali4-Oct-17 5:10
atali4-Oct-17 5:10 
GeneralRe: Why this sudden hype for Python? Pin
swampwiz4-Oct-17 19:14
swampwiz4-Oct-17 19:14 
GeneralRe: Why this sudden hype for Python? Pin
Marc Clifton8-Oct-17 2:46
mvaMarc Clifton8-Oct-17 2:46 
atali wrote:
as in white spaces define the structure of the program.


Yeah, it takes a little bit to get used to, but not much more than the C# style of
if (foo)
{
}
else
{
}

vs. the Javascript (and older C style, I think) style of:
if (foo) {
} else {
}

Python at least uses colons, so you're example should be:
if (x):
  something()

Some FP languages (Haskell, Occam, F#) also use whitespace indentation, and once you get used to it, it's rather nice, IMO.
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Why this sudden hype for Python? Pin
atali10-Oct-17 5:05
atali10-Oct-17 5:05 
GeneralRe: Why this sudden hype for Python? Pin
jschell4-Oct-17 6:23
jschell4-Oct-17 6:23 
GeneralRe: Why this sudden hype for Python? Pin
Eytukan3-Nov-17 3:27
Eytukan3-Nov-17 3:27 
GeneralRe: Why this sudden hype for Python? Pin
stoneyowl23-Oct-17 2:41
stoneyowl23-Oct-17 2:41 
GeneralRe: Why this sudden hype for Python? Pin
John Nurick4-Oct-17 0:39
John Nurick4-Oct-17 0:39 
GeneralRe: Why this sudden hype for Python? Pin
Foothill3-Oct-17 4:07
professionalFoothill3-Oct-17 4:07 
GeneralRe: Why this sudden hype for Python? Pin
PIEBALDconsult3-Oct-17 4:13
mvePIEBALDconsult3-Oct-17 4:13 
GeneralRe: Why this sudden hype for Python? Pin
Leo563-Oct-17 20:53
Leo563-Oct-17 20:53 
GeneralRe: Why this sudden hype for Python? Pin
Slacker0074-Oct-17 2:08
professionalSlacker0074-Oct-17 2:08 
GeneralRe: Why this sudden hype for Python? Pin
kalberts3-Oct-17 22:15
kalberts3-Oct-17 22:15 
GeneralRe: Why this sudden hype for Python? Pin
GKP19923-Oct-17 23:18
professionalGKP19923-Oct-17 23:18 
GeneralRe: Why this sudden hype for Python? Pin
Tomz_KV4-Oct-17 2:00
Tomz_KV4-Oct-17 2:00 
GeneralA few reasons Pin
Michael Breeden4-Oct-17 2:00
Michael Breeden4-Oct-17 2:00 
GeneralRe: Why this sudden hype for Python? Pin
Leng Vang4-Oct-17 6:10
Leng Vang4-Oct-17 6:10 
GeneralRe: Why this sudden hype for Python? Pin
jschell4-Oct-17 6:17
jschell4-Oct-17 6:17 
GeneralW. T. F. Pin
Brisingr Aerowing2-Oct-17 20:34
professionalBrisingr Aerowing2-Oct-17 20:34 
GeneralRe: W. T. F. Pin
Mike (Prof. Chuck)2-Oct-17 20:46
professionalMike (Prof. Chuck)2-Oct-17 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.