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
2
votes
3answers
251 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{ ...
0
votes
0answers
56 views

Order notification system in distributed systems

I'm working in a company that has a driver management product. To deliver purchases there is a job in the current system that sends notifications to couriers, stating there is a new purchase to be ...
0
votes
1answer
72 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 ...
2
votes
2answers
81 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,...
1
vote
0answers
51 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 ...
0
votes
3answers
413 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 ...
4
votes
3answers
294 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 ...
7
votes
5answers
511 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, ...
41
votes
8answers
6k 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 ...
-2
votes
2answers
173 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 ...
37
votes
8answers
9k 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 ...
2
votes
3answers
621 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 ...
-3
votes
2answers
92 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 ...
4
votes
4answers
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 ([...
3
votes
4answers
224 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 ...
2
votes
2answers
2k 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 ...
1
vote
2answers
3k 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 ...
4
votes
1answer
1k 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 ...
1
vote
3answers
689 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 ...
-2
votes
2answers
175 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 ...
4
votes
1answer
612 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 ...
1
vote
1answer
395 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 ...
128
votes
14answers
40k 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: ...
1
vote
2answers
145 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 ...
1
vote
2answers
2k 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 ...
1
vote
2answers
3k 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 [...
1
vote
2answers
252 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 ...
3
votes
1answer
171 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(...
-2
votes
3answers
653 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 > ...
1
vote
2answers
130 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) {} ...
4
votes
5answers
399 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 ...
3
votes
1answer
95 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. - > ...
3
votes
1answer
149 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 ...
2
votes
2answers
82 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 ...
6
votes
2answers
543 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 ...
7
votes
5answers
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 ...
15
votes
3answers
3k 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 ...
-3
votes
1answer
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 ...
0
votes
4answers
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? ...
0
votes
1answer
138 views

Engineering change orders (ECOs) and software version control

Is it common practice in the software development/engineering profession for engineering change orders (ECOs) to be used for or in conjunction with software version control? Is this a good idea? Are ...
0
votes
1answer
128 views

How do deal with this periodic task requirement?

Recently I've received the following requirement which is being quite hard to implement. The system is a Windows Forms financial system and the requirement is as follows: When the system is opened in ...
13
votes
1answer
7k views

Does BDD and DDD work well together?

Behavior-Driven Development (BDD) can be described as in this blog post as follows: Behaviour-driven development (BDD) takes the position that you can turn an idea for a requirement into ...
12
votes
2answers
627 views

How to actually find out what has to be done in object oriented design?

First a disclaimer: I don't really know if this question fits this website, but I still find it a relevant question not just to me but for other people which are beginners. If the question can be ...
4
votes
4answers
6k views

What is a software architecture and how to represent it?

I've searched a lot for a clear explanation for a software architecture but each time I got more confused, so What a software architecture really is and is there a standard way to represent it or it's ...
7
votes
4answers
2k views

Is separate QA team, redundant in development life cycle?

Background: Developer is the best person to know/understand the dark corners after any development/enhancement of enterprise software, compared to QA technician. Developer can assess the depth/...
8
votes
5answers
2k views

What is the importance of the vision document and how it helps development?

I'm a developer that works alone, and recently, searching for what kinds of documents I still could benefit, even though I don't require anything formal, I've read that one document that still is ...
0
votes
3answers
191 views

Who should develop the database relational model diagrams?

Developing a co-founded idea software product can have sometimes misunderstood information about roles and responsibilities. A Management role is responsible for understand and delegate the operator's ...
0
votes
3answers
286 views

How to represent personality of a person in class?

Lets say I have a class Person. class Person{ Person(std::string, int); void walk(); void talk(); void eat(); private: int age; std::string() name; }; Now lets say I want ...
7
votes
2answers
1k views

Are there any reasons NOT to use modular design? [closed]

Engineering is typically the art of knowing what solution fits best to the problem. If I were asked such as Should I use singleton classes?, Should all database have views and triggers?, What is the ...
7
votes
2answers
872 views

What is the method to identify bottlenecks in a software engineering programme?

I'm on a software development programme in financial services - with 100 developers, plus testers, BAs, PMs and other support staff. We've read through Implementing Lean Software Development, and ...