sigma
sigma
C++ backend URL Routing
I mean, it doesn't seem that it would be a problem. If you find yourself repeating some parsing logic for some routes, then, it would be a good idea to come up with a parsing stage, but right now that doesn't seem to be the case
21 replies
C++ backend URL Routing
Also, some routers even have parsing capabilities, but maybe you would like to leave this unimplemented if you want to leave it as a separate module
21 replies
C++ backend URL Routing
Now, if you want your routing to be defined statically, I am sure you can do some templating magic on this, unless you want your router to be adjusted dynamically
21 replies
C++ backend URL Routing
Although I am not sure what you consider an "argument". Argument could be in the query string of the URL, but also as part of the URL, or even in the body of the request, if you are dealing with a POST request
21 replies
C++ backend URL Routing
Now, if you mean a dynamic number of arguments, then you might need to pass a vector, perhaps?
21 replies
C++ backend URL Routing
If you don't want to use templating, why not let all routes get an "option<string>" object? If you don't want to pass anything, then option is going to be none. If you want to pass an argument, then it is going to have something
21 replies
implementing the extended Euclidean algorithm
For example, the gcd of a, b, c is just gcd(gcd(a,b), c)?
4 replies
implementing the extended Euclidean algorithm
would the greatest common divisor be: gcd(x_n-1, gcd(x_n-2, gcd(..., gcd(x_1, x_0)))?
4 replies
Help in finding programming exercises online
and codewars
11 replies
Help in finding programming exercises online
there's leetcode
11 replies
Timer Control ticking slower than real life in C#
Also, in Windows Forms, is there a way to separate your UI code and your Timer code in different threads?
10 replies
Timer Control ticking slower than real life in C#
One thing I would recommend is to not use string interpolation, as you may be allocating a new string every time, although I may be wrong, since I don't remember the specifics in .net
10 replies
Timer Control ticking slower than real life in C#
So, when you used another timer, and that timer counted 1 sec, your timer was still counting?
10 replies
Timer Control ticking slower than real life in C#
When you say that it ticks slower than real life, you measured it with another timer?
10 replies
Need Advice Choosing Framework
this is accidentally the funniest exchange I've ever seen
58 replies
Need Advice Choosing Framework
If you are going to be building an e-commerce website, you'd have a lot of back-end logic, no?
58 replies
Need Advice Choosing Framework
I think with the new development with Blazor, it is capable for both
58 replies
Need Advice Choosing Framework
It's perfectly capable
58 replies
Need Advice Choosing Framework
Then use Asp.net
58 replies
Need Advice Choosing Framework
What language are you most used to?
58 replies