Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
32 views

I want to enforce team to follow architectural standards for new project. Once architectural standards in place, during code push in gitlab, if the standards are violated then it will notify us. What ...
2 votes
2 answers
100 views

Looking at the code from string.c for memmove I can see that there is a const char *s; and that s is later assigned the value of src; I was wondering, why didn't the author just skip the const char *s;...
Atti's user avatar
  • 91
0 votes
0 answers
221 views

Is it okay to throw exceptions and errors from not controller or request class in Laravel or in general ? I have a lot of business logic in my "Repository" class, where I put code to work ...
0 votes
0 answers
29 views

what's the definition of class object that has more than one version? what's the name of object like that that has a default and than versions with more parameters? say you have it like that: public ...
2 votes
1 answer
234 views

I am looking for a way to create an infinite view on a model that is not initialized completely. I would like to create something similar to an Excel spreadsheet, and all I came in was to start with ...
Lidbey's user avatar
  • 371
0 votes
0 answers
119 views

I have a python script that has has a few nested menus and I want to ask if it is better if I group the individual functions together into classes. I have a main menu with two sub menus and each sub ...
4 votes
1 answer
1k views

In order to dive into more complex concepts about Node.js, I am doing some research to make sure I understand the principles about the language and the basic building blocks it ́s build upon. As far as ...
0 votes
1 answer
87 views

I've just read (revised) some architectural principles (as documented here https://learn.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/architectural-principles) and felt a bit confused ...
Hopeless's user avatar
  • 4,853
0 votes
1 answer
64 views

First of all, my program functions, but the b3 expression (a boolean) does not function like I want to. Instead of giving me a value of 0 (false) when I select that one train is DIESEL or ELECTRICAL, ...
Julio's user avatar
  • 11
2 votes
1 answer
91 views

I have the following code snippet class Vehicle{ public String brand; public double price; public int productionYear; public String toString(String formatType) { switch(formatType) { ...
0 votes
0 answers
30 views

I know how to code with Java listeners but I have one understanding ask: Is there a loop in every listener which listen to something until the event is happening. I searched for source codes and ...
-4 votes
1 answer
58 views

Found this answer to Ch4Ex15 of Stroustrups beginner book, the question is to find the first n amount of primes: #include "std_lib_facilities.h" bool prime (vector<int> table, int number) { ...
0 votes
2 answers
835 views

I'm new to SLAM and I'm sure the question is dumb, but I'd really like to know how this pose and area data accumulation goes in SLAM. Once an algorithm initializes it starts to track pose (and write ...
0 votes
1 answer
42 views

I am very poor at understanding and trying to solve this problem, Let's say we have 3 threads with a,b,c instructions each, I need to find how many different ways the program can execute on a ...
1 vote
1 answer
336 views

I'm writing a class library to solve non-linear equations using newton's method. I stumbled across operator-overloading and thought about overloading the ==-Operator. Something like expression1 == ...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /