Click here to Skip to main content
15,893,622 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: Is Python the new BASIC? Pin
#realJSOP2-May-18 4:08
mve#realJSOP2-May-18 4:08 
GeneralRe: Is Python the new BASIC? Pin
Nish Nishant2-May-18 5:07
sitebuilderNish Nishant2-May-18 5:07 
GeneralRe: Is Python the new BASIC? Pin
Leng Vang2-May-18 7:10
Leng Vang2-May-18 7:10 
GeneralRe: Is Python the new BASIC? Pin
Daniel Wilianto2-May-18 20:06
Daniel Wilianto2-May-18 20:06 
GeneralRe: Is Python the new BASIC? Pin
Mike Winiberg2-May-18 21:48
professionalMike Winiberg2-May-18 21:48 
GeneralRe: Is Python the new BASIC? Pin
Daniel Wilianto3-May-18 16:23
Daniel Wilianto3-May-18 16:23 
GeneralRe: Is Python the new BASIC? Pin
Mike Winiberg3-May-18 19:54
professionalMike Winiberg3-May-18 19:54 
GeneralRe: Is Python the new BASIC? Pin
Daniel Wilianto3-May-18 21:00
Daniel Wilianto3-May-18 21:00 
Really?
var foo = "Hello";
var bar = "World";
var message = foo + " " + bar + "!";

I am pretty sure the IDE will throw an error right away if I deleted an ;

Compare it to Python:
price = 1100
discount = 50
qty = int(input('How many do you want to buy? '))
total_price = qty * price
if qty > 10:
    discount = discount + total_price/100 * 5
    total_price = total_price - discount
print(total_price)

The IDE won't find out anything if the indentation TAB on 2nd last line is accidentally deleted.

But you are right, we should have made unit tests for everything. Only that I got lazy sometimes, especially if it's just a simple function. Ha ha ha.
GeneralRe: Is Python the new BASIC? Pin
Mike Winiberg3-May-18 21:46
professionalMike Winiberg3-May-18 21:46 
GeneralRe: Is Python the new BASIC? Pin
Tokinabo2-May-18 23:23
professionalTokinabo2-May-18 23:23 
GeneralRe: Is Python the new BASIC? Pin
Leng Vang3-May-18 5:39
Leng Vang3-May-18 5:39 
GeneralRe: Is Python the new BASIC? Pin
rubinstu3-May-18 3:22
rubinstu3-May-18 3:22 
GeneralIt's one of those days... Pin
Marc Clifton2-May-18 2:01
mvaMarc Clifton2-May-18 2:01 
GeneralRe: It's one of those days... PinPopular
CPallini2-May-18 2:07
mveCPallini2-May-18 2:07 
PraiseRe: It's one of those days... Pin
Slacker0072-May-18 2:09
professionalSlacker0072-May-18 2:09 
GeneralRe: It's one of those days... Pin
Marc Clifton2-May-18 2:13
mvaMarc Clifton2-May-18 2:13 
JokeRe: It's one of those days... Pin
V.2-May-18 2:42
professionalV.2-May-18 2:42 
GeneralRe: It's one of those days... Pin
Chris C-B2-May-18 3:54
Chris C-B2-May-18 3:54 
GeneralRe: It's one of those days... Pin
Marc Clifton2-May-18 6:54
mvaMarc Clifton2-May-18 6:54 
GeneralRe: It's one of those days... Pin
GuyThiebaut2-May-18 2:19
professionalGuyThiebaut2-May-18 2:19 
GeneralRe: It's one of those days... Pin
Mycroft Holmes2-May-18 14:32
professionalMycroft Holmes2-May-18 14:32 
GeneralRe: It's one of those days... Pin
GuyThiebaut2-May-18 20:52
professionalGuyThiebaut2-May-18 20:52 
GeneralRe: It's one of those days... Pin
Leng Vang2-May-18 7:28
Leng Vang2-May-18 7:28 
JokeRe: It's one of those days... Pin
abmv2-May-18 7:36
professionalabmv2-May-18 7:36 
GeneralGibson guitars going bust Pin
Munchies_Matt2-May-18 1:25
Munchies_Matt2-May-18 1:25 

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.