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
		
- 
				
				@retoor typescript isn't the best, but writing wild code and expecting others to figure it out -on a project that has been running non-stop for 15 years- is worse.
 
 Puff is very fine, I went on vacation in Cote D'Azur and left her for a bit with my mother. She could enjoy some nice countryside, a lot of space and a honestly excessive amount of forehead kisses.  
- 
				
				This is pure madness.
 I don’t know how people (like your team leader) don’t realize that.
- 
				
				Better to trade the clearly visible developer time sinks off for those that are foggier and can't be defined or grasped at a single glance
Related Rants









 Nowadays......Β―\_(γ)_/Β―
Nowadays......Β―\_(γ)_/Β―
Update on my old rant: I started writing type definitions for our project (it's basically a chunk of separate files where you document the objects you use; typed languages have this out of the box, js doesn't and it may become useful depending on the size of the project). Our codebase is reasonably big -not complicated, but big- and I felt like I was losing track of all the properties\objects\usage\comments\whatever. So I iiterally wrote some ts interfaces: properties with name and types, that's it, so you know what you're passing around.
Proposal was denied, I'll have to delete the documentation; "keeping the doc updated is going to require more work".
Me: Ok, but what am I supposed to do when I need to interface with your code? Run the debugger and figure out what the fuck you guys are passing around?
Team leader: Yes π
rant
documentation
typescript
debugger