there are two types of people | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

there are two types of people

1° p{ } 2° p{ }

9th Sep 2017, 4:11 AM
Willian Rezende
Willian Rezende - avatar
12 Answers
+ 23
3° p { }
9th Sep 2017, 4:29 AM
Hatsy Rei
Hatsy Rei - avatar
+ 10
4°p{}
9th Sep 2017, 4:39 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 10
6° p { // code goes here, all code in one line, only close bracket in new line }
9th Sep 2017, 5:38 AM
Amethyst Animion
Amethyst Animion - avatar
+ 7
I'm definitely: p { // Code }
9th Sep 2017, 6:16 AM
Dalton Ponder
Dalton Ponder - avatar
+ 5
°5 p { }
9th Sep 2017, 5:12 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 4
1) p { }
9th Sep 2017, 4:32 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 4
I usually don't deal with the languages that use {} So my usual dealing is with p(): #stuff
9th Sep 2017, 6:13 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
@Hatsy Rei 4°p{ //Codes will go here.... }
9th Sep 2017, 2:42 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 2
p //sum code (depending on what p is)
9th Sep 2017, 5:08 AM
Jordan Chapman
Jordan Chapman - avatar
+ 2
The third type: function foo { //do your magic $bar = null ; for() { if() { //some magic } } return ;}
9th Sep 2017, 6:22 AM
Vespertilio Aeternitas
Vespertilio Aeternitas - avatar
+ 2
func { } class{ }; data{ }
9th Sep 2017, 11:53 AM
Nick Kashkin
Nick Kashkin - avatar
+ 2
get used to writing it both ways, so you can follow the convention when you edit/add to existing code :)
10th Sep 2017, 3:20 PM
Jeff
Jeff - avatar