Giter Site home page Giter Site logo

gdg_codelab_1403's People

Contributors

comtin avatar ganadist avatar grhbit avatar horid121 avatar jjuakim avatar recursivecurry avatar sunglim avatar utrpanic avatar werwe avatar

Stargazers

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

Watchers

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

gdg_codelab_1403's Issues

Refactoring

Fibonacci 와 FibonacciTest 정도로 클래스 분리하는 것이 어떨까요?

실행가이드가 필요.

인자가 없이 실행 했을 때, 에러만 발생하므로 실행에 대한 --help 와 같은 가이드 필요.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at Fibonacci.main(Fibonacci.java:4)

변수명이 이상하네요.

입력 받은 값이 계산 종료 마지막 값이기 때문에

start 보다는 end, until 등의 변수명으로 바꾸는게 readability를 높여줄것 같습니다.

Fibonacci 수열 리턴 값을 변경했으면 합니다.

Fibonacci 수열 리스트를 원하는 다른 함수가 필요할 경우, 지금의 기능으로는 그 값을 전달할 수 없습니다.
list 나 array로 결과값을 반환하고, 출력은 return값을 받아서 처리하면 재활용성에 좋을 것 같습니다.

인자의 검증 필요

숫자 이외의 값이나 인자가 없으면 익셉션이 납니다. 에러 메시지 필요~

Can't compile cause encoding

$ javac -encoding utf8 ./Fibonacci.java
./Fibonacci.java:1: illegal character: \65279
?import java.math.BigInteger;
^
1 error

Here is my log. I'm using OS X 10.9.
Is there any mistake about compiling source?

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.