Giter Site home page Giter Site logo

fastcampus-2023-part01's People

Contributors

steve-developer avatar steve-lemontree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fastcampus-2023-part01's Issues

안녕하세요 질문이 있습니다.

안녕하세요 패스트 캠퍼스 시그니처 백엔드 Path 초격차 패키지 강의를 듣고 있습니다.
[Course4] 프로젝트로 시작하는 웹 서비스 개발 강의에서 궁금한점이 있습니다.

강사님 께서는 코드를 작성할 때 항상 var 를 사용해서 객체를 생성 합니다.
즉 타입추론을 적절하게 사용해서 코드를 작성하십니다.

공부를 하다가 문득 성능에 대한 궁금증이 생겼고
타입추론이 성능에 관여를 할까? 라는 고민을 했습니다.

타입추론이 아닌, 자료구조(=반환타입) 을 명시적으로 해주면은 조금이라도 성능이 더 빨리지지 않을까? 생각입니다.

보통 자료구조 관점에서 자바에서 제공해주는 '오토박싱' 을 이용해서 자료구조를 추상적으로 사용할 수 있는 것으로 알고 있는데

강사님이 사용하시는 var 타입추론 방법이 성능 관점에서 일반적인 자료구조를 명시해주는 것보다 좋은지 안좋은지가 궁금합니다.

제가 잘못 알고 있는 부분일 수도 있으나, 궁금해서 Issue 를 남겨봅니다.

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.