utilforever / programmingpractice Goto Github PK
View Code? Open in Web Editor NEWProgramming Practice Examples
License: MIT License
Programming Practice Examples
License: MIT License
현재는 풀이 제출을 Solutions/유저네임/문제 이름/파트 번호
에 하고 있는데, 이 구조가 좀 마음에 안 듭니다.
Solutions/문제 이름/파트 번호/유저네임
특정 문제의 풀이를 찾기가 어렵습니다. 현재는 유저네임이 최상위에 위치해 있어 Solutions
폴더에 들어가면 누군지 모를 닉네임들만 가득하고, 그 폴더를 하나하나 들어가 보면서 풀이가 있는지 확인해 봐야 합니다.
문제 이름과 파트 번호는 모두가 똑같아야 할 부분인데, 현재는 유저마다 각자 문제 폴더를 만들고 있습니다. 덕분에 GameShop/...
, Game Shop/...
, Game Shop/1/...
, GameShop1/...
, Game Shop/Game Shop- Part 1/...
처럼 중구난방입니다.
Solutions/문제 이름/파트 번호/언어/유저네임
특정 언어로 작성된 풀이를 찾기 어렵습니다. 이 문제는 GitHub의 검색 기능을 이용하면 어느 정도 해결할 수 있긴 한데, 기본적으로 언어 별로 폴더가 예쁘게 구분되어 있다면 더 편하죠.
다만 문제 위주로 찾고 싶은 경우와 언어 위주로 찾고 싶은 경우, 어떤 경우냐에 따라 Solutions/문제 이름/파트 번호/언어/유저네임
보다는 Solutions/언어/문제 이름/파트 번호/유저네임
이 더 편리할 수도 있습니다.
언어에 따른 분류가 오히려 폴더 구조를 더 복잡하게 만든다면, 문제 하나하나마다 한 언어로 작성된 풀이들 중 베스트인 걸 모아 Solutions/문제 이름/파트 번호/README.md
에 적어 두는 것도 괜찮아 보입니다.
현재는 풀이를 제출할 때 소스 파일만 보내면 되는데, 폴더마다 소스 파일만 달랑 들어 있어서 좀 허전하게 느껴집니다. README.md
파일 하나 만들어서 코드 실행 방법이나 프로젝트 구조에 대한 간략한 설명 정도만 적어 놔도 좀 괜찮을 것 같은데, 어떤가요?
문서를 보면
Item(name, description, weight, value) : 매개 변수로 아이템 이름/설명/무게/가격을 받는 생성자
이렇게 되어 있는데, 위 식대로 그대로 하면 문법에 맞지 않은거 같은데,
굳이 저대로 생성자 안만들고 저런 식으로 하라고 써 놓으신 건가요??
아니면 제가 틀린 건가요??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.