Git Product home page Git Product logo

auction-house's Introduction

Natively curious human, passionate about building things that bring people joy. I'm Oana ๐Ÿ‘‹

auction-house's People

Contributors

oanaom avatar

Watchers

 avatar  avatar  avatar

auction-house's Issues

High Level Overview

Tell me the work flow of the app, in plain English, as an high level overview of the steps that your code executes. From the start, to the end results.

Go style-guide

Have the Go coding style-guides and best practices been followed?

Naming function, naming vars, module naming, comments style and spacing, etc

Encapsulation

The code in house.go seems to use a lot of global variables. Why not use more encapsulation to create simple, pure functions with a clear input and output, rather than relying on global state?

Is this global state (indicated by the global variables) an intentional design decision? If yes, why?
Is it a pattern recommended by Go? If yes, can you show me docs?

Expected vs received output

Received:
|20|toaster_1|8|SOLD|12.5|0|0|0|
|20|tv_1|0|UNSOLD|0|0|0|0|

Expected:
20|toaster_1|8|SOLD|12.50|3|20.00|7.50
20|tv_1||UNSOLD|0|2|200.00|150.00

Missing:

  • price_paid
  • total_bid_count
  • highest_bid
  • lowest_bid

Congrats!!!

Go have a cake/smoothie/beer! Well done on your first, complex Go challenge!! ๐Ÿค‘ (that I'm aware of, at least)

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.