Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Follow composition.

If A calls B, then A folder should contain B folder.



And if A is recursive(ly calling itself)?

:-D


    cd a
    ln -s . a
Problem solved; perfect organization.


I tried this and disappointingly Linux rejects it before programming languages break.

gcc:

    a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/test.h:1:10: fatal error: a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/test.h: Too many levels of symbolic links
python:

    ModuleNotFoundError: No module named 'tmp.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a'




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: