Click here to Skip to main content
14,362,359 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: Feeling smug Pin
Vikram A Punathambekar12-Sep-10 18:31
memberVikram A Punathambekar12-Sep-10 18:31 
GeneralRe: Feeling smug Pin
LunaticFringe12-Sep-10 19:57
memberLunaticFringe12-Sep-10 19:57 
GeneralRe: Feeling smug Pin
Vikram A Punathambekar13-Sep-10 6:59
memberVikram A Punathambekar13-Sep-10 6:59 
GeneralRe: Feeling smug Pin
LunaticFringe13-Sep-10 9:04
memberLunaticFringe13-Sep-10 9:04 
GeneralRe: Feeling smug Pin
Vikram A Punathambekar13-Sep-10 9:20
memberVikram A Punathambekar13-Sep-10 9:20 
GeneralRe: Feeling smug Pin
Keith Barrow18-Sep-10 7:31
mentorKeith Barrow18-Sep-10 7:31 
GeneralRe: Feeling smug Pin
Mark_Wallace12-Sep-10 21:49
memberMark_Wallace12-Sep-10 21:49 
GeneralWhy Java has not unsigned integer? Pin
Behzad Sedighzadeh12-Sep-10 7:19
memberBehzad Sedighzadeh12-Sep-10 7:19 
I code most of the time in C# and C. C# as a desktop application and C for real-time and embedded applications.

well, recently i assigned a job of maintaining an application written in java, assuming based on my knowledge in C# i will learn it quickly.Not bad anyway until this morning!

We have to add a new feature to the application.I added a new table to the MySql database,assigned a primary key for it as unsigned int and went to the java application to generate random unsigned ID values.
BUT THE HELL!
Java has not unsigned concept! There are workarounds and i may finally find a solution, but i am thinking about original java designers why they decided to NOT put this handy concept in the application.

Any idea or history you may share with me?
Behzad

GeneralRe: Why Java has not unsigned integer? Pin
Trollslayer12-Sep-10 7:26
mentorTrollslayer12-Sep-10 7:26 
GeneralRe: Why Java has not unsigned integer? Pin
Gary R. Wheeler12-Sep-10 13:54
memberGary R. Wheeler12-Sep-10 13:54 
GeneralRe: Why Java has not unsigned integer? Pin
Trollslayer12-Sep-10 14:12
mentorTrollslayer12-Sep-10 14:12 
GeneralRe: Why Java has not unsigned integer? Pin
Pete O'Hanlon12-Sep-10 7:28
protectorPete O'Hanlon12-Sep-10 7:28 
GeneralRe: Why Java has not unsigned integer? Pin
peterchen12-Sep-10 7:49
memberpeterchen12-Sep-10 7:49 
GeneralRe: Why Java has not unsigned integer? Pin
Nagy Vilmos12-Sep-10 9:18
professionalNagy Vilmos12-Sep-10 9:18 
GeneralRe: Why Java has not unsigned integer? Pin
peterchen12-Sep-10 12:14
memberpeterchen12-Sep-10 12:14 
GeneralRe: Why Java has not unsigned integer? Pin
peterchen13-Sep-10 6:26
memberpeterchen13-Sep-10 6:26 
GeneralRe: Why Java has not unsigned integer? [modified] Pin
leonej_dt12-Sep-10 11:06
memberleonej_dt12-Sep-10 11:06 
GeneralRe: Why Java has not unsigned integer? Pin
Richard MacCutchan12-Sep-10 11:29
protectorRichard MacCutchan12-Sep-10 11:29 
GeneralRe: Why Java has not unsigned integer? Pin
leonej_dt12-Sep-10 11:45
memberleonej_dt12-Sep-10 11:45 
GeneralOT - infinitives Pin
Kyudos12-Sep-10 12:08
memberKyudos12-Sep-10 12:08 
GeneralRe: OT - infinitives Pin
Pete O'Hanlon12-Sep-10 12:21
protectorPete O'Hanlon12-Sep-10 12:21 
GeneralRe: OT - infinitives Pin
Luc Pattyn12-Sep-10 13:09
professionalLuc Pattyn12-Sep-10 13:09 
Generalneologism Pin
Luc Pattyn12-Sep-10 13:13
professionalLuc Pattyn12-Sep-10 13:13 
GeneralRe: Why Java has not unsigned integer? Pin
Richard MacCutchan12-Sep-10 12:15
protectorRichard MacCutchan12-Sep-10 12:15 
GeneralRe: Why Java has not unsigned integer? Pin
Mark_Wallace12-Sep-10 22:06
memberMark_Wallace12-Sep-10 22:06 

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.