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
		
- 
				
				 Root772328yWhy do those even exist? Root772328yWhy do those even exist?
 They're functionally identical. Does the compiler optimize them in some way? Why wouldn't it optimize `else if` in the same way?
- 
				
				 xnor15128y@compiling because it's a common construct in almost all languages and it's confusing for people who know many languages. ๐ xnor15128y@compiling because it's a common construct in almost all languages and it's confusing for people who know many languages. ๐
Related Rants
- 
						
							 shozukan42My company just blocked devRant ip... Well, now I need to use my own mobile data to procrastinate shozukan42My company just blocked devRant ip... Well, now I need to use my own mobile data to procrastinate
- 
						
							 PuzzlesDev5 PuzzlesDev5 Did you know that you could only add 23 smileys to a message in Slack? ๐ค Well now you know! ๐ Did you know that you could only add 23 smileys to a message in Slack? ๐ค Well now you know! ๐
- 
						
							 TheSilent3What is that? Ada uses three spaces for indentation? (ใ๊ฆเฒ ็เฒ )ใๅฝกโปโโป TheSilent3What is that? Ada uses three spaces for indentation? (ใ๊ฆเฒ ็เฒ )ใๅฝกโปโโป





else if
elseif
elsif
elif
eif...anyone?
undefined
but why?