jondurrant / RPI-PicoW-WolfSSL-Exp

MIT License
7 stars 4 forks source link

Improves readability #2

Closed TheZitroX closed 1 year ago

TheZitroX commented 1 year ago

You do it everywhere - stop using c code in cpp pls. Use the iostream instead of stdio.h. I don't even look at the code anymore - I just indent it, so my coworker can read it better for practice.

jondurrant commented 1 year ago

Reverting code to former coding standards. "{" are not on new lines.

TheZitroX commented 1 year ago

i know it blows up the code with some more lines, but the readability gets way better, i would take a try

TheZitroX commented 1 year ago

btw - use tab as spaces (2 or 4) - it will help with foramtting the code with commentations ect.

jondurrant commented 1 year ago

Best practice is use spaces I think. Tabs default to 2, 4 or 8. Most IDEs encode as spaces.

Jon

On Fri, 12 May 2023, 16:21 John Lienau, @.***> wrote:

btw - use tab as spaces (2 or 4) - it will help with foramtting the code with commentations ect.

— Reply to this email directly, view it on GitHub https://github.com/jondurrant/RPI-PicoW-WolfSSL-Exp/pull/2#issuecomment-1545916130, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWFSB2XOKAQ5FZBVDDQEYTXFZIRDANCNFSM6AAAAAAX62HPTE . You are receiving this because you modified the open/close state.Message ID: @.***>