Click here to Skip to main content
15,887,267 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: New York Times sues Microsoft and OpenAI Pin
charlieg29-Dec-23 1:13
charlieg29-Dec-23 1:13 
GeneralRe: New York Times sues Microsoft and OpenAI Pin
b4blue28-Dec-23 5:32
b4blue28-Dec-23 5:32 
GeneralWhat's a "real" programming language? Pin
honey the codewitch27-Dec-23 2:44
mvahoney the codewitch27-Dec-23 2:44 
GeneralRe: What's a "real" programming language? Pin
Gary R. Wheeler27-Dec-23 3:15
Gary R. Wheeler27-Dec-23 3:15 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch27-Dec-23 3:52
mvahoney the codewitch27-Dec-23 3:52 
GeneralRe: What's a "real" programming language? Pin
Gary R. Wheeler27-Dec-23 4:30
Gary R. Wheeler27-Dec-23 4:30 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch27-Dec-23 4:36
mvahoney the codewitch27-Dec-23 4:36 
GeneralRe: What's a "real" programming language? Pin
jschell27-Dec-23 5:52
jschell27-Dec-23 5:52 
honey the codewitch wrote:
if an object changes, its “location” inside a collection has to change, as well. But that’s not what happens in Java. JavaScript will probably go the safer route of only enabling comparison by value for special immutable objects (so-called value objects).


I realize that is not your statement but I will note it is a silly response.

In ANY language if you change the contents of a entities within a collection there is a risk that you violate the constraints of the collection.

Any competent programmer that actually understands a Java HashMap (and similar) must understand the impact of attempting to change the semantics of what equals() and hashcode() actually means.

I can see a Junior developer doing that.

I can also see a Junior developer failing to correctly manage memory allocations in C/C++ also.

But Java is not JavaScript nor are either C/C++.

honey the codewitch wrote:
But that’s not what happens in Java


That is perhaps more ludicrous. Is there any language where that happens?
GeneralRe: What's a "real" programming language? Pin
honey the codewitch27-Dec-23 6:30
mvahoney the codewitch27-Dec-23 6:30 
GeneralRe: What's a "real" programming language? Pin
MSBassSinger28-Dec-23 4:08
professionalMSBassSinger28-Dec-23 4:08 
GeneralRe: What's a "real" programming language? Pin
hpcoder218-Jan-24 13:59
hpcoder218-Jan-24 13:59 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch18-Jan-24 14:07
mvahoney the codewitch18-Jan-24 14:07 
GeneralRe: What's a "real" programming language? Pin
hpcoder218-Jan-24 14:43
hpcoder218-Jan-24 14:43 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch18-Jan-24 14:44
mvahoney the codewitch18-Jan-24 14:44 
GeneralRe: What's a "real" programming language? Pin
Daniel Pfeffer27-Dec-23 4:52
professionalDaniel Pfeffer27-Dec-23 4:52 
GeneralRe: What's a "real" programming language? Pin
0x01AA27-Dec-23 5:30
mve0x01AA27-Dec-23 5:30 
GeneralRe: What's a "real" programming language? Pin
jschell27-Dec-23 5:56
jschell27-Dec-23 5:56 
GeneralRe: What's a "real" programming language? Pin
0x01AA27-Dec-23 6:02
mve0x01AA27-Dec-23 6:02 
GeneralRe: What's a "real" programming language? Pin
jschell28-Dec-23 5:45
jschell28-Dec-23 5:45 
GeneralRe: What's a "real" programming language? Pin
jschell27-Dec-23 5:42
jschell27-Dec-23 5:42 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch27-Dec-23 6:29
mvahoney the codewitch27-Dec-23 6:29 
GeneralRe: What's a "real" programming language? Pin
jschell27-Dec-23 6:39
jschell27-Dec-23 6:39 
GeneralRe: What's a "real" programming language? Pin
honey the codewitch27-Dec-23 6:49
mvahoney the codewitch27-Dec-23 6:49 
JokeRe: What's a "real" programming language? PinPopular
k505427-Dec-23 5:53
mvek505427-Dec-23 5:53 
GeneralRe: What's a "real" programming language? Pin
PIEBALDconsult27-Dec-23 6:08
mvePIEBALDconsult27-Dec-23 6:08 

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.