Click here to Skip to main content
15,919,422 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: It takes a little getting used to... Pin
Sander Rossel14-Jan-15 8:43
professionalSander Rossel14-Jan-15 8:43 
GeneralRe: It takes a little getting used to... PinPopular
PIEBALDconsult14-Jan-15 8:44
mvePIEBALDconsult14-Jan-15 8:44 
GeneralRe: It takes a little getting used to... Pin
JMK-NI14-Jan-15 8:45
professionalJMK-NI14-Jan-15 8:45 
GeneralRe: It takes a little getting used to... Pin
PIEBALDconsult14-Jan-15 8:48
mvePIEBALDconsult14-Jan-15 8:48 
GeneralRe: It takes a little getting used to... Pin
Jeremy Falcon14-Jan-15 8:59
professionalJeremy Falcon14-Jan-15 8:59 
GeneralRe: It takes a little getting used to... Pin
JMK-NI14-Jan-15 9:05
professionalJMK-NI14-Jan-15 9:05 
GeneralRe: It takes a little getting used to... Pin
Richard Deeming14-Jan-15 9:14
mveRichard Deeming14-Jan-15 9:14 
GeneralRe: It takes a little getting used to... Pin
Jeremy Falcon14-Jan-15 9:39
professionalJeremy Falcon14-Jan-15 9:39 
What you're saying is pointless. If I screw with existing members of a native type then duh of course things will break. Only a fool would write a lib that did that, so there's no point in even pointing it out. With that being said...
HTML
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <script>
        // create a new array method that removes a member
        Array.prototype.remove = function(member) {
            var index = this.indexOf(member);
            if (index > -1) this.splice(index, 1);
            return this;
        }

        var myArray = ['poppy', 'sesame', 'plain'].remove('poppy');

        for(var x in myArray) console.log(myArray[x]);
    </script>
</head>
<body>
    <p>Oh gee, common sense gets ignored again.</p>
</body>
</html>

Jeremy Falcon

GeneralRe: It takes a little getting used to... Pin
Richard Deeming14-Jan-15 9:01
mveRichard Deeming14-Jan-15 9:01 
GeneralRe: It takes a little getting used to... Pin
JMK-NI14-Jan-15 9:05
professionalJMK-NI14-Jan-15 9:05 
GeneralRe: It takes a little getting used to... Pin
Mark_Wallace14-Jan-15 9:37
Mark_Wallace14-Jan-15 9:37 
GeneralRe: It takes a little getting used to... Pin
JMK-NI14-Jan-15 9:48
professionalJMK-NI14-Jan-15 9:48 
GeneralRe: It takes a little getting used to... Pin
PIEBALDconsult14-Jan-15 8:47
mvePIEBALDconsult14-Jan-15 8:47 
GeneralRe: It takes a little getting used to... Pin
Sander Rossel14-Jan-15 9:04
professionalSander Rossel14-Jan-15 9:04 
GeneralRe: It takes a little getting used to... Pin
kmoorevs14-Jan-15 8:50
kmoorevs14-Jan-15 8:50 
GeneralRe: It takes a little getting used to... Pin
Agent__00714-Jan-15 16:28
professionalAgent__00714-Jan-15 16:28 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
Glosse14-Jan-15 6:30
Glosse14-Jan-15 6:30 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
H.Brydon14-Jan-15 7:01
professionalH.Brydon14-Jan-15 7:01 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
DaveAuld14-Jan-15 7:03
professionalDaveAuld14-Jan-15 7:03 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
KarstenK14-Jan-15 7:12
mveKarstenK14-Jan-15 7:12 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
dandy7214-Jan-15 8:05
dandy7214-Jan-15 8:05 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
Glosse14-Jan-15 8:33
Glosse14-Jan-15 8:33 
GeneralRe: Sony IT Execs - Negligent, ignorant, or foolhardy? Pin
PIEBALDconsult14-Jan-15 13:42
mvePIEBALDconsult14-Jan-15 13:42 
General70-462 Pin
#realJSOP14-Jan-15 5:56
professional#realJSOP14-Jan-15 5:56 
GeneralRe: 70-462 Pin
Marc Clifton14-Jan-15 6:01
mvaMarc Clifton14-Jan-15 6:01 

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.