Coder Social home page Coder Social logo

fishlight2's People

Contributors

tacooblivion avatar

Watchers

 avatar

fishlight2's Issues

Code consistency

A quick glimpse of the code yielded that the code written 2-years ago and the code written more recently have 2 mildly different style guidelines attached to them.

  • Slightly Older Code: Microsoft Guidelines
    This includes private fields with m_ prefix and variable initialization via brackets as in uint8_t something{ 10 }

  • Newer Code: Follows my typical code style in most languages
    I'm not sure why I decided to follow Microsoft's style guidelines when I first wrote it. Possibly to standardize the code to people who typically program in C++ more than I do maybe? However, a majority of the code is written in that style, so I think switching the code to that style would be easier than changing to this one.

I'd also like to note that I saw some code with an out-of-place style. My assumption is that I copy-pasted the variable and didn't refactor. Also, a slightly inconsistent usage of "this". I either wanted it or I didn't. The code couldn't seem to makeup its mind. So I'll chalk this up to simply forgetting whether I wanted it or not.

In short: Switch to MS guidelines 100%
Found affected files

  • ButtonManager.h/cpp
  • FishLightProgram.h/cpp
  • LightMenuTag.h
  • LuzDateTime.h/cpp
  • Color.h (is this even compiled?)

Screen not turning back on

For some very bizarre reason the screen isn't coming back on after clicking buttons anymore. Can't seem to find a reason for it immediately so need to debug this further.

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.