All Questions
6 questions
2
votes
2
answers
107
views
OOP refactoring technique
I'm teaching myself Object Oriented Programming in JavaScript and I'm looking over this small P5 code of CodingTrain's No.78, which deals with flying particles in the canvas, as a material.
The full ...
1
vote
0
answers
497
views
Fetching weather data from API
I was experimenting with some code to fetch the current weather data as well as getting the hourly forecast. I could have done ...
1
vote
2
answers
139
views
Print bounding box in the terminal
Right now I am finding ways to write better code in javascript and I see many coding styles used by different authors but right now I am thinking to write code which adheres to the object oriented ...
1
vote
1
answer
2k
views
Splitwise clone done right
I have started this project basically for learning perspective and wanted to learn good object oriented design. What I am trying to do is making clone of something like this but this is a command line ...
0
votes
1
answer
1k
views
Binary to decimal converter in JavaScript
This exercise with a test suite is from here. I did not intend to use ES6 features, it's plain old JavaScript. That's why I seek advice more on the good practices, performance side, than modern syntax....
5
votes
2
answers
583
views
Library assistant
HackerRank currently has '7 days of JavaScript' going, a quick intro into the JavaScript language. Every day a couple of challenges will be made available. One of the challenges of today was this:
...