Click here to Skip to main content
15,892,674 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
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 
GeneralRe: Is Python the new BASIC? Pin
Mike Winiberg3-May-18 21:46
professionalMike Winiberg3-May-18 21:46 
It's easy to find similar examples in any language 8)

Javascript:
var person = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"};
var me = person;
me.firstName = "mike";

What does person.firstName hold now? Would an IDE warn you that me was a reference? What if the assignment to firstName is miles away in other code?

Compare that with similar code in C++, which by default will make a deep copy of the object so that person and me are not pointers to the same memory.

In C:
a = 1;
b = 1;
c = 0;

if (a != b);
{
c = 1;
}

What value does c hold?

I'm not saying a good IDE doesn't help, because it does - but that's true with any language, including Python. You can write bad code in any language (BTDTGTTS!), so my point remains: Python is different, but that doesn't make it better (or worse). You should use the most appropriate tool for the job, and for which you have the most skill. FORTRAN code is (was) position dependent too...
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 
GeneralRe: Gibson guitars going bust Pin
raddevus2-May-18 1:44
mvaraddevus2-May-18 1:44 

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.