▲ 4 ▼ function {} (lemmy.world) submitted 3 years ago by jopsozepsi@lemmy.world to c/programmer_humor@programming.dev 5 comments fedilink hide all child comments
[–] Grishaix@feddit.de 0 points 3 years ago (1 child) function { } Is for cheaters who want to squeeze as much code as possible onto one screen. permalink fedilink source hideshow 2 child comments replies: [–] zygo_histo_morpheus@programming.dev 0 points 3 years ago (1 child) only good thing about javascript is that it forces people to put the squiggly brackets on the right permalink fedilink source parent hideshow 2 child comments replies: [–] bcrussin_dev@programming.dev 1 point 3 years ago I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man permalink fedilink source parent
[–] zygo_histo_morpheus@programming.dev 0 points 3 years ago (1 child) only good thing about javascript is that it forces people to put the squiggly brackets on the right permalink fedilink source parent hideshow 2 child comments replies: [–] bcrussin_dev@programming.dev 1 point 3 years ago I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man permalink fedilink source parent
[–] bcrussin_dev@programming.dev 1 point 3 years ago I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man permalink fedilink source parent