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
		- 
				
				You would get an error. A date variable is not compatible with an int. You would need to convert.
 
 At least in C#
- 
				
				Also I would change the while condition to while (isProgramming && hasCoffee).
 
 Btw, there's no need to set isProgramming to true, since it's already true when it enters the loop. But it's just me being an anti joke chicken.
Related Rants
- 
						
							 Atlas1178Uncle: Programmers who design physics engines do so by typing 1s and 0s on a console. That's why they get paid... Atlas1178Uncle: Programmers who design physics engines do so by typing 1s and 0s on a console. That's why they get paid...
- 
						
							thesulac1 fixing bugs all week, when you think you're finally done and you break the build... fixing bugs all week, when you think you're finally done and you break the build...
- 
						
							 Nojil4When you snap at the other Developer because you SWEAR your bug fix push corrected the issue, to then be put b... Nojil4When you snap at the other Developer because you SWEAR your bug fix push corrected the issue, to then be put b...






while(isProgramming){
If(hasCoffee){
Destroy(sleep);
}
wait(Date.timeOfHr*5);
//Never stop coding
isProgramming=true;
}
undefined
coffee to not sleep
bug fixes
program till you die
i am dead inside