42cel
Banned
-
- Joined
- Jan 16, 2018
- Posts
- 835
I just got roasted on IT for my ugly code LOL. I don't code much in JS and am shit at writing clean code anyway, can someone give me feedback? Someone said it wasn't even proper c-structure (it's JS, why the fuck should it look like C?) and another one said you don't return empty arrays in JS. Why shouldn't you? It seems more readable and understandable that way instead of null or something. I obviously can't comment on IT so I'm hoping some codercels browse this board.
@FeminismsCancer IIRC you said you're good at coding
@FeminismsCancer IIRC you said you're good at coding