Forum Discussion
nmrao
Champion Level 3
Not sure why are you feeling that it is awkward.
Mis3
3 years agoFrequent Contributor
I do not know Java programming at all. I used to code maybe 30 years ago in other programming languages which emphasis on readability. Little that I know about Java coding, I find it not easy to read at all.
I myself find these lines of code awkward in the sense that it is not easy to read. Given the same requirements, how would you code these 2 if statements?
if ( !rowdata.startsWith('431') && !rowdata.startsWith('1431') && !rowdata.startsWith('204') && !rowdata.startsWith('1204') )
{
…
…
continue
}
if ( rowdata.startsWith('1') )
{ msisdn_1 = data[0] }
else
{ msisdn_1 = "1" + data[0] }
Related Content
Recent Discussions
- 2 days agoemoya
- 2 days agoMyBalanceNow