The C++ Programming Language 4th, Stroustroup 2013, p20, 'Minimize the use of arrays and C-style strings. C++ standard-library std::strings, std::arrays, std::vectors can often be used to - return 0;
커헠(msca8h)2016-12-17 00:52
write simpler and more maintainable code compared to the traditional C style.' - 리듬♪ C++ 가이드라인 봇 - return 0;
커헠(msca8h)2016-12-17 00:52
커헉이는 뭘 말하고 싶은지?
우물안올챙이(whiteprince)2016-12-17 00:53
게을러지는게 아니라 그걸 쓰는게 맞는거임 - 리듬♪ C++ 가이드라인 봇 - return 0;
커헠(msca8h)2016-12-17 00:54
스트롭 형이 말하는 보편적인 코딩기법으로 결국 배열 대신 vector쓰고 문자열은 string?
난 vector에 취한상태인데.. ㅋㅋ
deque 씃요
뭐래니.. - return 0;
편리함에 취해 게으르게 만들지
단단하게 만드는거랑 대충 만들고 빠질때랑 구별해야지 뭐.
편리함이라니.. 가이드라인인데 - return 0;
The C++ Programming Language 4th, Stroustroup 2013, p20, 'Minimize the use of arrays and C-style strings. C++ standard-library std::strings, std::arrays, std::vectors can often be used to - return 0;
write simpler and more maintainable code compared to the traditional C style.' - 리듬♪ C++ 가이드라인 봇 - return 0;
커헉이는 뭘 말하고 싶은지?
게을러지는게 아니라 그걸 쓰는게 맞는거임 - 리듬♪ C++ 가이드라인 봇 - return 0;
스트롭 형이 말하는 보편적인 코딩기법으로 결국 배열 대신 vector쓰고 문자열은 string?
ㄴㄴ 컴파일 타임 정적 배열은 std::string, 동적배열은 std::vector, 문자열은 std::string - return 0;
오키도키요오~
array 대신 string 쓰냐능
말은 그렇게 되어있고 큰 맥락은 그게 맞는데, 실제로 시스템 구현해보면 정적 / 동적 결정 문제는 좀 더 복잡하쥬~
비결정적 문제들이 경험을 통해 결정적이 되는 경우가 많고, 언제 오류날지 모르는 시스템 보단 아싸리 오류가 빨리 나는 시스템이 더 디버깅하기 좋음.