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
		
- 
				
				 donkulator531101dIn Rust, you can do: donkulator531101dIn Rust, you can do:
 
 let x = "blah blah";
 
 let x = x.len();
 
 And a name that used to mean one thing now means a completely different type of thing, and if you try to use it to mean the earlier thing the compiler complains.
 
 It makes perfect sense, and in some ways it's quite elegant, but it can be bloody confusing.
- 
				
				 Lensflare21238100d@donkulator best use case for shadowing is safe nil/null handling: Lensflare21238100d@donkulator best use case for shadowing is safe nil/null handling:
 
 let name: String? = "my name"
 
 // in this scope name is optional/nullable
 
 if let name {
 // in this scope name is not nullable and definitely has a value. No need for null checks here.
 }
 
 Works the same in Kotlin but with smart casting (still shadows the old variable)
- 
				
				 SidTheITGuy989998d@MammaNeedHummus I'd let them fly away with no remorse. In fact, I would push them to fly away. SidTheITGuy989998d@MammaNeedHummus I'd let them fly away with no remorse. In fact, I would push them to fly away.
- 
				
				 kiki3748698d@SidTheITGuy want her to have a dick now huh. maybe because then you can put it in your mouth to suck out every last drop of her golden nectar I guess kiki3748698d@SidTheITGuy want her to have a dick now huh. maybe because then you can put it in your mouth to suck out every last drop of her golden nectar I guess
- 
				
				 SidTheITGuy989997d@kiki SidTheITGuy989997d@kiki
 
 you have used up your victim card in a previous one. Be careful about what you say to me. This time I won't let it pass.
Related Rants




 when your code is a mess but everything work out in the end
when your code is a mess but everything work out in the end
 When you keep getting +1s on a rant you posted a month ago.
When you keep getting +1s on a rant you posted a month ago.
 Go big or go home.
Go big or go home.
Female assets and their hornification value:
- tits: 10 points
- butt: 20 points
- face: 25 points
- brain: 200 points
- dick: 9999 points
A woman without a dick is like an angel without wings.
rant