Giter Club home page Giter Club logo

pycalculate's Introduction

Hi there! 👋

My name's John & I like creating things in various languages.

Here's some of the tech I'm experienced with;

Languages Frameworks, Runtimes IDEs VCS Databases Operating Systems
Python Python Nuxt Nuxt (JavaScript) VS Code VS Code Git Git PostgreSQL PostgreSQL Windows Windows
C# C# Vue Vue (JavaScript) PyCharm PyCharm GitHub GitHub MariaDB MariaDB macOS macOS
JavaScript JavaScript Node Node (JavaScript) WebStorm WebStorm Sourcetree Sourcetree MongoDB MongoDB Ubuntu Ubuntu Linux
Go Go Express Express (JavaScript) GoLand GoLand Fork Fork iOS iOS
TypeScript TypeScript Rider Rider Bitbucket Bitbucket Android Android
Rust Rust CLion CLion GitKraken GitKraken
C C Visual Studio Visual Studio
HTML5 HTML Code::Blocks Code::Blocks
CSS3 CSS
Markdown Markdown

You can see some metrics for the current year below;

(An explanation of the rank assigned is available here.)

Additionally, you can see my preferred languages below;

I'm currently focusing on learning C#, which is somewhat overrepresented above due to the .csproj & .sln files.

I had previously started learning the excellent Go (/ Golang), which I plan to get back to at a later point. It's fun!

pycalculate's People

Contributors

mrsarno avatar

Watchers

 avatar

pycalculate's Issues

Check User Input

PyCalculate currently operates on the 'everything is fine' assumption.

It needs to analyse user input, and throw error messages & re-request information when bad info is provided by the user.

Accepted Input Shouldn’t Be Case-Specific

Where the program prompts the user for input, it shouldn't rely on the user specifically providing e.g. lower-case input.

An example of where the program does this;

while more_calc_input != "y" and more_calc_input != "n":

Add Loop Functionality

The initial version of the program only allows a user to perform a single calculation each time the program is run.

It should offer the choice of either performing an additional calculation or closing it.

Standardise Print Function Formatting

In some cases string concatenation (thing + stuff) is used, and in other cases it isn't (thing, stuff).

The status quo is functional, but in the interests of clean, quality code it should probably be standardised.

Accept Additional Operators

PyCalculate currently requests that the user provide +, -, x, or / as an operator.

While those are the only ones it will ever encourage, it should also accept other common examples, such as;

  • * (multiply)
  • ÷ (divide)
  • X (multiply)
  • etc.

The plan is to silently accept those, but encourage the four I judge to be the most common. While programmers might favour the asterisk I think the average user favours the letter x, and the division sign is fancy but comparatively difficult to enter using a keyboard.

Address the User by Their Name (Or Stop Asking For It)

Currently, the program asks the user for their name and then... never brings it up again.

The loop (see #3) should begin by greeting the user by their name & then request numbers & the operator.

If it feels creepy or forced, it can be removed without worry.

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.