Skip to main content
6 votes

Event sourcing javascript implementation

Just some quick points: You really should format the code according to common practices. Your unusual formatting makes the code very difficult to read, which will limit the number of people willing to ...
RoToRa's user avatar
  • 11.3k
3 votes

HTML Editor: Online HTML Editor with Real-Time Preview

First of all, a little disclaimer: I'm not a professional Web frontend developer, every single line of HTML, CSS and JavaScript that I've written was for personal projects. The following is my ...
Green绿色's user avatar
2 votes

Calculating the total value of an invoice with precision

unit tests The whole point of the OP code is to compute different results than FP would, a subtle difference that is challenging to see when just eyeballing some source code. This would have been ...
J_H's user avatar
  • 30.6k
2 votes
Accepted

A web page for running AI vs. AI Connect Four matches with selection of algorithms and search depths

On the design Scrolling+resetting the whole page on every match is clunky for UX. It also invites some UI weirdness like the duplicate "Clear output" buttons (which I assume you added ...
tdy's user avatar
  • 1,814
1 vote

Calculating the total value of an invoice with precision

Frameworks Frameworks should reduce source code and reduce code complexity, at the same time reduce your workload. In this case Big.js seams to be making your source code longer and the execution much ...
Blindman67's user avatar
  • 22.2k
1 vote

Negamax AI for playing Connect Four against Alpha-beta pruning AI in Javascript

D.R.Y. code (Don't Repeat Yourself) Not a full review but it was painful to see all the repeated code so had to say something. OMDG... The code is very repetitive! In two objects there are groups of ...
Blindman67's user avatar
  • 22.2k
1 vote

Ecommerce site shipping data

Addressing the question I have 2 solutions for this. Which is better and why? The answer may depend on mulitple factors. For example - if there were parts of the front-end which only needed the ...
Sᴀᴍ Onᴇᴌᴀ's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible