Giter VIP home page Giter VIP logo

evaluator_time_trial's Introduction

evaluator_time_trial

This repository is meaningless for any person except myself since it's just a time trial to measure the time to create a simple mathmatical expression evaluator.

Purpose

My aim is to measure my coding speed and memory skill at my own game mainly. The following rules exist in this challenge:

  • Don' copy external resource and paste it into my codes directly. But pasting it into my brain is OK.
  • If at all possible, don't refer API documentation. When API documentation is refered, write commit comment about that.
  • Write commit comment about my mistake(typo is included, of course) in progress whenever it occurs.
  • Advance preparation to commit information to memory is not problematic.
  • Don't use editor/IDE completion features.
  • This project must be simple sbt project at the end.
  • The scala programs must be under "com.github.kmizu" or/and its sub-packages.
  • By executing sbt "run input.txt", the mathematical expression in the file must be evaluated correctly. A mathematical expression must support integer literal, four arithmetic operators, and parentheses to enclose an expression.

Result

  • It tooks about 20 minutes until the completion. Time without coding is included in 20 minutes.
  • I made three mistakes. Two mistakes are related to forgetting and one mistake is related to error.
  • LOC is 27.

evaluator_time_trial's People

Watchers

James Cloos avatar  avatar

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.