Are bootcamps the best way to learn code?

I am enrolling in a coding boot-camp this spring. Is this the best way to learn how to code? Are they too fast paced as they breeze through languages to get you up to speed quickly?

Anyone with coding boot-camp experience please let me know your thoughts…

Thank you,