Code Monkey home page Code Monkey logo

Comments (5)

vhbsouza avatar vhbsouza commented on May 16, 2024

I was thinking in the same thing. But I propose instead of split the problems by languages, it could continue in a problem name folder and inside, folders with the respective languages solution.

from code-problems.

blakeembrey avatar blakeembrey commented on May 16, 2024

It sounds good, but I can't imagine that many solutions needing more than one file as I don't want to have incredibly detailed solutions here - that's what an actually library would be for. Should there be folders for for every language regardless of number of files to enforce consistency, or just folders for solutions that span multiple files?

from code-problems.

vhbsouza avatar vhbsouza commented on May 16, 2024

Yeah, thinking in this way... I don't know any language that obligates use more than one file.
But in this idea about create folders just for solutions that span multiple files, sounds good to me.

from code-problems.

tclamb avatar tclamb commented on May 16, 2024

@vhbsouza Exactly one folder per language within each problem folder, yes, I should have been more clear. :)

That is a good point. I also can't think of any language that requires more than one file, so perhaps enforcing a one-file per language limit? As long as the same extension(s) for each language is used across the repository, I think this would be sufficient.

My personal concern is C++ classes. These are typically divided up into the header (.h) file and the implementation (.cpp) file. This saves compilation time when only the implementation changes. But if these are all one-off solutions that don't belong in any real projects, this becomes a non-issue. I can just define everything in the header.

from code-problems.

blakeembrey avatar blakeembrey commented on May 16, 2024

Should be resolved with the updated structure.

from code-problems.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.