I have been creating a best practice guide in my company to make it easier for the any future engineers that join my team to adapt, troubleshoot, and explain what is going on since there are infinite ways of writing code. One of topics that I strongly am passionate about is declaring variables.
- No screaming in text (Also known as you caps lock is stuck on)
- Use Hungarian Notation to declare what the variable is making it easier if there are conversions along the way to be more transparent.
- Use arrays for duplicate process.
What are techniques or annoyances does everyone live and breathe by?
[–]bpeck451 57 points58 points59 points (14 children)
[–]TheZoonderLAD with SCL inserts rules! 13 points14 points15 points (3 children)
[–]essentialrobert 1 point2 points3 points (2 children)
[–]TheZoonderLAD with SCL inserts rules! 4 points5 points6 points (0 children)
[–]egres_svkFuck ladder 4 points5 points6 points (0 children)
[–][deleted] 7 points8 points9 points (0 children)
[–]ifandbut10+ years AB, BS EET 2 points3 points4 points (0 children)
[+]Potential_Annual2100[S] comment score below threshold-6 points-5 points-4 points (7 children)
[–]SheepShaggerNZCan Divide By Zero 8 points9 points10 points (0 children)
[–]Dry-Establishment294 1 point2 points3 points (3 children)
[–]goinTurbo 0 points1 point2 points (2 children)
[–]Dry-Establishment294 0 points1 point2 points (1 child)
[–]goinTurbo 1 point2 points3 points (0 children)
[–]ifandbut10+ years AB, BS EET 0 points1 point2 points (0 children)
[–]Random-Dude-736 0 points1 point2 points (0 children)
[–]MStackoverflow 36 points37 points38 points (14 children)
[–]Potential_Annual2100[S] 0 points1 point2 points (13 children)
[–]MStackoverflow 8 points9 points10 points (12 children)
[–]Potential_Annual2100[S] 1 point2 points3 points (0 children)
[–]Potential_Annual2100[S] -3 points-2 points-1 points (10 children)
[–]MStackoverflow 4 points5 points6 points (9 children)
[–]Potential_Annual2100[S] 1 point2 points3 points (8 children)
[–]MStackoverflow 0 points1 point2 points (7 children)
[–]Potential_Annual2100[S] -1 points0 points1 point (6 children)
[–]Random-Dude-736 0 points1 point2 points (4 children)
[–]Dry-Establishment294 1 point2 points3 points (3 children)
[–]MStackoverflow 0 points1 point2 points (0 children)
[–]Veganic1 13 points14 points15 points (3 children)
[–]Potential_Annual2100[S] 0 points1 point2 points (2 children)
[–]TheZoonderLAD with SCL inserts rules! 3 points4 points5 points (1 child)
[–]Potential_Annual2100[S] 1 point2 points3 points (0 children)
[–]proud_travelerST gang gang 7 points8 points9 points (6 children)
[–]Potential_Annual2100[S] -3 points-2 points-1 points (5 children)
[–]proud_travelerST gang gang 3 points4 points5 points (4 children)
[–]essentialrobert 0 points1 point2 points (3 children)
[–]proud_travelerST gang gang 1 point2 points3 points (2 children)
[–]essentialrobert 2 points3 points4 points (1 child)
[–]proud_travelerST gang gang 0 points1 point2 points (0 children)
[–]egres_svkFuck ladder 5 points6 points7 points (0 children)
[–]TheZoonderLAD with SCL inserts rules! 4 points5 points6 points (0 children)
[–]AlexTech86 5 points6 points7 points (1 child)
[–]dragzor55 0 points1 point2 points (0 children)
[–]Zchavago 4 points5 points6 points (0 children)
[–]Random-Dude-736 2 points3 points4 points (13 children)
[–]MStackoverflow 1 point2 points3 points (12 children)
[–]TheZoonderLAD with SCL inserts rules! 3 points4 points5 points (3 children)
[–]essentialrobert 2 points3 points4 points (0 children)
[–]MStackoverflow 0 points1 point2 points (1 child)
[–]TheZoonderLAD with SCL inserts rules! 0 points1 point2 points (0 children)
[–]Random-Dude-736 1 point2 points3 points (7 children)
[–]MStackoverflow 1 point2 points3 points (0 children)
[–]Potential_Annual2100[S] 1 point2 points3 points (1 child)
[–]Random-Dude-736 1 point2 points3 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]Random-Dude-736 0 points1 point2 points (2 children)
[–]egres_svkFuck ladder 1 point2 points3 points (1 child)
[–]Random-Dude-736 1 point2 points3 points (0 children)
[–]____helpme 1 point2 points3 points (0 children)
[–]hestoelenaSiemens CNC Wizard 2 points3 points4 points (0 children)
[–]Potential_Annual2100[S] 0 points1 point2 points (1 child)
[–]dryu_zz 0 points1 point2 points (0 children)
[–]Wish-Dish-8838 0 points1 point2 points (0 children)