Click here to Skip to main content
14,662,169 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 I'm Against Higher Resolution TV Pin
W Balboos, GHB20-Feb-20 5:32
mveW Balboos, GHB20-Feb-20 5:32 
GeneralRe: Why I'm Against Higher Resolution TV Pin
dandy7219-Feb-20 6:40
Memberdandy7219-Feb-20 6:40 
GeneralRe: Why I'm Against Higher Resolution TV Pin
W Balboos, GHB20-Feb-20 5:44
mveW Balboos, GHB20-Feb-20 5:44 
GeneralRe: Why I'm Against Higher Resolution TV Pin
dandy7220-Feb-20 6:11
Memberdandy7220-Feb-20 6:11 
GeneralRe: Why I'm Against Higher Resolution TV Pin
dandy7219-Feb-20 6:09
Memberdandy7219-Feb-20 6:09 
General2 Dim arrays in Java Pin
Nand3218-Feb-20 3:41
MemberNand3218-Feb-20 3:41 
GeneralRe: 2 Dim arrays in Java Pin
0x01AA18-Feb-20 3:58
mve0x01AA18-Feb-20 3:58 
GeneralRe: 2 Dim arrays in Java Pin
OriginalGriff18-Feb-20 4:12
mveOriginalGriff18-Feb-20 4:12 
Because generally speaking, you can normally access memory via it's address - and that means that to more to the "next" element you have to know the actual memory organisation. (Java doesn't have pointers, but this can be very important if you want to share data with other languages.)
And ... an array of 2 lines of 10,000 chars will occupy a lot less memory than an array of 10,000 lines of 2 chars ... plus, both will use more memory than a "true" 2D array of chars with the same number of elements.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

GeneralRe: 2 Dim arrays in Java Pin
0x01AA18-Feb-20 8:16
mve0x01AA18-Feb-20 8:16 
GeneralRe: 2 Dim arrays in Java Pin
Member 798912218-Feb-20 10:50
MemberMember 798912218-Feb-20 10:50 
GeneralRe: 2 Dim arrays in Java Pin
OriginalGriff18-Feb-20 11:34
mveOriginalGriff18-Feb-20 11:34 
GeneralRe: 2 Dim arrays in Java Pin
Member 798912218-Feb-20 22:55
MemberMember 798912218-Feb-20 22:55 
GeneralRe: 2 Dim arrays in Java Pin
dandy7218-Feb-20 5:50
Memberdandy7218-Feb-20 5:50 
GeneralRe: 2 Dim arrays in Java Pin
harold aptroot18-Feb-20 4:03
Memberharold aptroot18-Feb-20 4:03 
GeneralRe: 2 Dim arrays in Java Pin
PIEBALDconsult18-Feb-20 8:37
professionalPIEBALDconsult18-Feb-20 8:37 
GeneralRe: 2 Dim arrays in Java Pin
Mark_Wallace18-Feb-20 9:26
MemberMark_Wallace18-Feb-20 9:26 
GeneralRe: 2 Dim arrays in Java Pin
Nand3218-Feb-20 18:27
MemberNand3218-Feb-20 18:27 
GeneralRe: 2 Dim arrays in Java Pin
Member 798912219-Feb-20 0:58
MemberMember 798912219-Feb-20 0:58 
GeneralRe: 2 Dim arrays in Java Pin
Nand3219-Feb-20 3:45
MemberNand3219-Feb-20 3:45 
GeneralRe: 2 Dim arrays in Java Pin
Member 798912219-Feb-20 4:43
MemberMember 798912219-Feb-20 4:43 
GeneralRe: 2 Dim arrays in Java Pin
PIEBALDconsult20-Feb-20 8:47
professionalPIEBALDconsult20-Feb-20 8:47 
GeneralRe: 2 Dim arrays in Java Pin
Nand3221-Feb-20 19:07
MemberNand3221-Feb-20 19:07 
QuestionLeaving work at the doorstep... Pin
Marc Clifton18-Feb-20 3:08
mvaMarc Clifton18-Feb-20 3:08 
AnswerRe: Leaving work at the doorstep... Pin
Dan Neely18-Feb-20 3:14
MemberDan Neely18-Feb-20 3:14 
AnswerRe: Leaving work at the doorstep... Pin
MarkTJohnson18-Feb-20 3:24
professionalMarkTJohnson18-Feb-20 3:24 

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.