TransWikia.com
  1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers (Page 17)

Find answers to your questions about Code Review or help others by answering their Code Review questions.

Google Maps marker management for games

Is there a better way to design this code? I have read that too many function parameters is a sign of poorly design code, and would love some feedback on...

Asked on 10/27/2021 by Joeyboy

1 answer

Javascript Syntax-Highlighter for Java

Project I wanted to create a syntax highlighter for Java using JavaScript, HTML and CSS. It uses regular expressions to find the parts that should be highlighted (at the moment:...

Asked on 10/27/2021

4 answer

How can I make my error handling more idiomatic in Rustlings exercise "from_into"?

I've got a working solution to the Rustlings from_into exercise (i.e. the code compiles and all the tests pass). The task required that I implemented the From trait for struct...

Asked on 03/01/2021 by Kyle_S-C

1 answer

Check if array has the same number of even and odd values in Python

Task:Complete the following function that determines if the number of even and odd values in an list of Integers is the same. | In ...

Asked on 02/26/2021 by Uncalled Astronomer

11 answer

Transpose of a matrix using Python 3.8

What is the transpose of a matrix: In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the...

Asked on 02/25/2021

2 answer

Depth First Search Using Stack in Python

I have implemented a depth first search using a stack (in a separate class). Any suggestions please on improvements for the below code:class Stack: """(LIFO) queuing...

Asked on 02/23/2021

1 answer

Prefixing prices of certain product categories with text in Woocommerce

I had the need to prefix the price for certain product categories on only the shop page (because the price can be higher depending on extras that the customer might...

Asked on 02/22/2021 by rpm192

1 answer

Angular Typescript Async queue service

i've implemented a waiter service in Angular for syncronice multiple calls to one async function and i want to know if there exists a simplier way of atchiving the same...

Asked on 02/22/2021 by Leonel Franchelli

0 answer

A simple terminal-based trading game in C

I wrote this a few months ago as my first "serious" C program (I've used JS for a few years). It's a simple resource collecting and trading game (based off...

Asked on 02/20/2021 by Redwolf Programs

2 answer

Checking if an array of dates are within a date range

I created a dates_in_range() function which checks if all of the dates passed to it ($dates array) are within $start_date and $end_date. If they aren't, it'll return false. The code...

Asked on 02/16/2021

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP