Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
cursee165957yWhich editor/IDE do you use?
On sublime, I can auto trim the whitespace at the end of lines. -
hilpitome837yI am developing an android app. so android studio. Now I need to look into that. thanks
-
Doruk3457ybeen there. even had to ask on SO for it.
also +1 for semicolon. it's and outdated problem. including turbo pascal, semi colon was almost never a problem to me. -
hilpitome837y@exploretheC hehe. I guess this is where experience gets 1 over talent in this here life
-
Does your compiler not give you an insight into which line the syntax error is located?
-
hilpitome837y@theupandup a preceeding or trailing white space is not an error. it could be placed there by default. Now, the variable in question was being used to put data into an sqlite database. in an sqlite android query one pulls data using the integer value of a column(maybe you know this). e.g if i had a column value as "name " and i tried calling it from the cursor object as cursor.getColumnIndexOf("name") (this returns an int). thats where world war III begins
-
Oh. I thought we talking about a certain interpreted language.
The most annoying/difficult bugs come from these stupid little typos. I can relate to that. Sometimes I spend forever trying to figure out and tackle edge cases when in reality the issue was from a misspelling. It's incredibly frustrating whenever that happens. -
hilpitome837y@theupandup haha yes. I have come to the conclusion that its always the little things. mispellings especially. and when you want to overcome it with a copy paste you end up omitting either the last or first letter with your highlighting
a missing semi colon is overated, the white space character at the end of a string is the real OG. Been hunting a bug for three days because of it!!
joke/meme