Skip to main content

Questions tagged [engineering]

Software engineering (SE) is the application of a systematic, disciplined, quantifiable approach to the design, development, operation, and maintenance of software, and the study of these approaches; that is, the application of engineering to software.

Filter by
Sorted by
Tagged with
0 votes
1 answer
213 views

Is there a good reason not to use a "super class" (an all-encompassing class) [closed]

I write embedded software and I often find myself structuring my code such that there is one large parent class that contains just about everything. For example, consider you want to model a hardware ...
CHollman82's user avatar
-2 votes
1 answer
133 views

What is standard/considered best practice for the media used for different documentation? [closed]

I have just started my first position as a software engineer after finishing my degree, and, as warned, software is much different in industry than in academia. The startup that hired me does not have ...
Lavie's user avatar
  • 107
1 vote
1 answer
101 views

Artifactory management for platform components

What is the recommended approach for managing platform components within our internal JFrog Artifactory? I am currently facing difficulties in defining the appropriate structure. As an example, we are ...
Pro's user avatar
  • 173
-2 votes
1 answer
92 views

what are MVC benefits for my case?

I'm trying to design my new open source project I want to launch. I want to be very careful with design/projecting because I had trouble maintaining software in the past. I have code that works and ...
gabrielsalvador's user avatar
1 vote
2 answers
439 views

Who should perform the validation test, the software developer or the software user?

Who among the two is responsible for validating the software when testing it? Or is it a joint effort? On the one hand, the software developer is responsible for ensuring that the software is built to ...
Yash J's user avatar
  • 59
2 votes
7 answers
673 views

Is it possible to assess the quality of software if the customer keeps changing what it is supposed to do?

Kind of a yes/no question, if so, how? If the customer is unsure of his requirements and keeps changing them, on what basis are the software testers supposed to test the software to assess its quality?...
Yash J's user avatar
  • 59
0 votes
2 answers
122 views

While designing a software, what are the criterion used to partition that software into indivisual components? [closed]

Good software is always designed based on different modules before integration. I was wondering what rules/guidelines decide software partition into different, smaller modules during the design phase.
Yash J's user avatar
  • 59
1 vote
3 answers
468 views

Is in my case role based access better than permissions?

Hello StackExchange community, I'm in a bit of an impasse for my current project. The software in question is a collaborative program designed to let employees work together on the platform and assign ...
manimerz's user avatar
0 votes
2 answers
202 views

Implement authorization logic also in frontend or send authorization info along with the resource?

We have an ongoing argument in our team. Please help. Here is the problem: In our SPA web app, let's say we have a resource which can be edited by only those users who belong to the team of the user ...
user3563059's user avatar
4 votes
6 answers
609 views

Waiting until end of project to remove commented out code, remove unused code, and resolve compiler warnings

A co-worker of mine is working on project solo but would still like to have other team members review their code upon reaching certain milestones. Unfortunately, they also want to wait until the end ...
user8297969's user avatar
0 votes
0 answers
70 views

What is the best way to desgin my api workflow?

I am building a bank management system using the microservices architecture. I have many microservices but I am going to talk about two. I have customer account service and transaction service. Let's ...
ferrocene's user avatar
-2 votes
1 answer
180 views

Is it possible to predict last 3 digits of a closing stock price? [closed]

So, i just start learning in AI field and i want to develop my skill more. So, i just curious is it possible to predict last 3 digits of a closing stock price? which mean the output result will run ...
Issara Ghfdyhgchj's user avatar
3 votes
3 answers
2k views

Is it good practice to use try catch for data validation [duplicate]

In my current development task, I want to validate whether a string is in JSON format or not. When I checked for solutions from resources like StackOverflow I saw many of answers are as below, try{ ...
Dulanga Heshan's user avatar
0 votes
1 answer
394 views

How should you structure the front-end/client to interact with a web app microservice?

I've been grappling with this for a while and figured I would post here to get input. I am a full stack engineer. I work on both front end and back end apps, where sometimes I have to create new ...
aCarella's user avatar
  • 329
2 votes
2 answers
110 views

Does "behaviour" describe exact output?

I know, this question was asked in a slightly different way. But I didn't find it helpful. Sorry, long text. I'm new in a company and my work concerns graphics and numerical computation. My supervisor,...
ChrisoLosoph's user avatar
1 vote
0 answers
92 views

Best Practices for multiple development efforts, different versions of Java

I'm the sole developer working on multiple projects on different versions of Java, plus some Microsoft Sharepoint front end projects. I REALLY need to figure out a better setup for my development ...
headlikearock's user avatar
0 votes
3 answers
2k views

Can more than one memory address be accessed at one time?

Apologies if this isn't the correct place to ask the question. But, I'm stumped. Can multiple memory addresses be read/written at one time, or must one address be read then another, is it possible for ...
jdow's user avatar
  • 184
4 votes
3 answers
1k views

CQRS: getOrCreate - is this a command, query, or both?

Consider the following scenario: If the user isn't registered in the database, register them. Return their ID. If the user is in the database, return their ID. The API endpoint for this may look ...
8protons's user avatar
  • 1,379
7 votes
5 answers
2k views

How to implement a dirty flag on a complex object hierarchy?

I've got an object with a complex hierarchy, something like: Document Paragraphs Paragraph Words Word and I need to implement a dirty flag on the Document object. In general, ...
Joshua Frank's user avatar
41 votes
8 answers
7k views

Getting buy-in for cleaner and more structured code

I am at my company for half a year now and think that I have gotten a fair idea of their codebase. Initially I didn't dare to form strong opinions, but now I start to feel that the code could benefit ...
Martin Ueding's user avatar
-1 votes
2 answers
343 views

Excel/VBA to Application

In an engineering company, there are many engineers that edit in Excel/VBA Spreadsheets to perform some engineering calculations.They all do more or less similar things: calculate, manage engineering ...
serge's user avatar
  • 115
39 votes
8 answers
10k views

Is it ok copying code from one application to another, both belonging to the same repository, to keep them independent?

Given a repository which contains two different applications A and B (e.g. bootloader and RTOS), is it ok to copy source code from A to B in order to avoid dependencies (include's, adding A source ...
Martel's user avatar
  • 615
3 votes
3 answers
4k views

Difference between a Software Requirement, a Feature and an Objective

I'm working on my first ever software project. Being the only one working on it, I'm making the work breakdown structure and I know requirement gathering is an important phase in the development ...
Amal K's user avatar
  • 111
-3 votes
2 answers
250 views

What are some use cases for creating child processes? [closed]

I am trying to understand processes and their use in software engineering. Not processes in general but rather creating a process from within a program. It seems a really powerfull tool and i have a ...
ariia's user avatar
  • 3
4 votes
4 answers
2k views

Is this WHERE clause builder an over-engineered design?

I've got to build some somewhat complicated WHERE clauses in SQL for a project I'm working on, and the clauses feel very hierarchical with their combination of ANDs and ORs. Instead of: WHERE ([...
Jez's user avatar
  • 1,318
3 votes
4 answers
243 views

Should operating system configuration parameters, like disabled automatic updates or sleep timer, be part of the software specifications?

Our application needs to run in a locked-down operating system. Due to quality and regulatory concerns, all updates shall be prevented or blocked. Therefore, our deployment includes the pre-configured ...
OwnDevise's user avatar
2 votes
2 answers
3k views

Should a Product Owner (PO) be part of the Engineering team or Product team? [closed]

Our start-up is currently build this way: Engineering Team which contains the following resources: Director of Engineering Mobile, front-end and back-end developers Quality Assurance Infrastructure ...
jon's user avatar
  • 131
1 vote
2 answers
5k views

Parsing and validation of a csv file

I am trying to create a library where I need to validate and parse a file in a CSV-like format and then use this data to generate a Tree data structure. At the moment I split the process into two ...
Vektor88's user avatar
  • 345
5 votes
3 answers
2k views

Spring Boot - What is the purpose of Autowired Constructors?

I’ve been developing in Spring Boot for just over a year but have yet to understand the benefits of using an Autowired constructor and I was wondering if someone could explain this to me and what ...
Space Cadet's user avatar
1 vote
3 answers
1k views

How to calculate metrics to determine engineering velocity?

My goal is to calculate our enterprise product team velocity in order to find process in-efficiencies and understand what could be fixed. I came across a report published by circleci that states ...
Andy Dufresne's user avatar
-2 votes
2 answers
263 views

How many valid users to test the software that has been developed?

Anyone know, how many users are valid to use the prototype of the software that we have made? I have conducted research on the reference to the "Software Engineering A Practitioner's Approach book ...
Heri Prastio's user avatar
4 votes
1 answer
854 views

How to structure SW documentation with SOUP components

I need to produce some documentation to be compliant with IEC 62304 and, while reading all of the processes needed to be documented, I'm having a couple doubts about how to structure the whole lot of ...
fedexist's user avatar
1 vote
1 answer
952 views

"State" pattern and encapsulation

Suppose we have the following classes: As you see, it's an implementation of the State Pattern. Basically, the Order class proxies the pay() and cancel() method calls to it's concrete OrderState ...
Alex Lomia's user avatar
  • 1,321
128 votes
14 answers
43k views

Is there any technical reason why, in programming, the default date format is YYYYMMDD and not something else?

Is there any engineering reason why is it like that? I was wondering in the case of a RDBMS that it had something to do with performance, since a "YEAR" is more specific than a "MONTH", for instance: ...
lucaswxp's user avatar
  • 1,387
1 vote
2 answers
189 views

Which process should field specification fall under, requirements or design?

In SWEBOK version 3, there are separate processes defined for requirements and design: "Software Requirements" and "Software Design." Under "Software Requirements" there is a section called "Software ...
user1527469's user avatar
1 vote
2 answers
4k views

use case diagram for data collection

I am creating a project related to education system in which data of universities ,admission and scholarships will be gathered and displayed on site. In this project I am scraping data from different ...
muntazir abbas's user avatar
1 vote
2 answers
4k views

What exactly is a P-type software

I find this concept hard to understand. So in what situations we have solutions that are impractical or impossible like those P-systems try to implement? P-systems are described as: P-type [...
chris's user avatar
  • 251
1 vote
2 answers
300 views

How can we use RFCs in closed source projects?

I really love the way open source projects use RFC as a tool to get feedback and ideas from the wider community. I've been especially noticing this over the years with the way Ember have been doing ...
reggaemahn's user avatar
3 votes
1 answer
174 views

How do you add feature to a class that was originally designed wrong in the first place? [duplicate]

I have a Surgeon class that is constantly changing class Surgeon { string name, discipline; public: Surgeon(string _name, string _discp) : name{_name}, discipline{_discp}{} void writeDir(...
user3904534's user avatar
-2 votes
3 answers
1k views

Saving a website of 30 pages in one piece to view offline (but with CSS and JS in place)?

How to save a website of 10 pages in one piece to view it offline (but with CSS and JS in place)? I tried to save a webpage to view offline from the browser via Firefox: File > Save page as > ...
Arcticooling's user avatar
1 vote
2 answers
138 views

API desing for storing data of multiple stage in object

struct co_ordinate { double x; double y; }; // -----> DESIGN 1 class Land { public: Land(std::vector<co_ordinate> co) shape_before_plotting(co) {} ...
Aadarsh Sharma's user avatar
4 votes
5 answers
522 views

How can I organize 3 software engineers to work together with 2 clients?

I started working in a stock broker that hired me and more two developers to build a piece of software to help them. I am the newest member of the development team. My friend, another developer in ...
Lucca Portes's user avatar
3 votes
1 answer
106 views

How to parse two file where one file contains the values of variable in another?

I have two files : file1 : contains the value of the variable. file2 : contains collection of steps (subset of collection of file1 ) to follow. Step contains the set of instructions. - > ...
vanta mula's user avatar
3 votes
1 answer
245 views

Design a class that holds parsing information

Let say I own a resturant that makes a pie. I want to cut this pie according to the input parsed from the file. That hold the key to the information on how the Pie is to be cut. I use ...
vanta mula's user avatar
2 votes
2 answers
90 views

Create an API fro University to create a Class

Lets say I am creating an API for class University to create a Class. (This Class has Class name, Teacher and students). eg: class Class{ .. private: std::string ...
vanta mula's user avatar
6 votes
2 answers
1k views

What Design to choose for Parsing different files to populate different classes?

I am currently working on project which requires parsing different types of files. The content of the files will populate the classes. eg: file1 populate content of class1, file2 populate content ...
vanta mula's user avatar
7 votes
5 answers
2k views

Is it a good idea to experiment with design patterns?

I have been reading a lot about different design patterns, their pros, cons, main usage etc. However, I like to experiment and try to invent my own ways of the implementations (even if they are not ...
Pins's user avatar
  • 201
16 votes
3 answers
4k views

Versioning REST APIs. Each API has its own version

It's very common to specify the version of REST APIs in the URL, specifically at the beginning of path, i.e. something like: POST /api/v1/accounts GET /api/v1/accounts/details However, I haven't ...
Eng.Fouad's user avatar
  • 269
-3 votes
1 answer
2k views

What's the needed math for building algorithms? [closed]

What's the needed math for building algorithms? Because I was reading a book and I can't understand much. It says I need simple math from high school. I don't want to learn all the math that exist ...
Frank's user avatar
  • 57
1 vote
4 answers
2k views

How to prevent over-engineering from Developers? [closed]

What are some techniques that you can use to prevent over-engineering among the Software Developers? Meaning, how do you keep them focused on creating solutions of only the current requirements? ...
Nikolay Advolodkin's user avatar