Shouldn't debugging be something you opt-in to rather than opt-out of? Seems like a weird design choice
Django has DEBUG set to True by default, too.
Improving Angular performance with 1 line of code
21–30 of 118 posts
Re: Improving Angular performance with 1 line of code
#22Re: Improving Angular performance with 1 line of code
#23Re: Improving Angular performance with 1 line of code
#24Re: Improving Angular performance with 1 line of code
#25Shouldn't debugging be something you opt-in to rather than opt-out of? Seems like a weird design choice
Re: Improving Angular performance with 1 line of code
#26Heck, I shouldn't even be saying this as it'll cut into my very lucrative field but unless you've got a confirmed performance problem, you shouldn't think about it at all. Really. Leave all of the fancy perf tweaks behind. Sure, you might get ridiculed on Medium but that's par for the course here on the internet. I'm afraid articles like these will cause lots of cargo-cult 'optimization' that just makes the job harder for future devs.
Make it work, make it work well, THEN make it work fast.
[0] I wrote Batarang's new perf panel before Google abandoned the project
Re: Improving Angular performance with 1 line of code
#27Re: Improving Angular performance with 1 line of code
#28What the author discovered is really shitty defaults for Angular. Most software is like that. Don't blame the developers using the software, blame the Angular developers for choosing shitty defaults. Instead of choosing production ready defaults, they chose development ready defaults, creating more work for everyone.
Re: Improving Angular performance with 1 line of code
#29I've searched a few minutes for any blog post or article which demonstrates the performance difference between turning this setting on or off, and I haven't found anything. If you don't have a benchmark, you don't have a performance boost.
Re: Improving Angular performance with 1 line of code
#30Shouldn't debugging be something you opt-in to rather than opt-out of? Seems like a weird design choice
It's the same design choice as most C compilation toolchains: you get debug symbols during the compilation process, and you can strip the binaries later if you want.