File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,15 @@ if (WIFEXITED( wstatus )){
3333
3434if (pipe(pd) == -1) {
3535
36+ --------------------------------------------------------------------------------
37+ Speaking of style, try to refactor as much as possible (while using function
38+ names easily readable by humans - and stick to consistent casing style).
39+
40+ When is function too long ? (so that it can be called "spaghetti code")
41+ If it spans multiple screens of wide screen terminal (let's say 80 lines
42+ printed in the font usually used in your environment for source code) it is
43+ probably time to do some refactoring.
44+
3645--------------------------------------------------------------------------------
3746Refuse special characters that you do not implement yet. For example, if you do
3847not implement pipes (as in the 1st phase), refuse it. It cannot work like this:
You can’t perform that action at this time.
0 commit comments