Skip to main content

Questions tagged [source-code]

Source code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
224 views

Suppose I have a personal private code project. What should the developer do with the code in case of impending death or plans to cease development on their personal private project. Suppose, they do ...
Joselin Jocklingson's user avatar
2 votes
3 answers
488 views

Formatting multiline statements is an arcane art that most auto formatters and style guides can't help you with. One habit I picked up is to ensure renaming things wont cause multiple lines to need to ...
candied_orange's user avatar
0 votes
3 answers
371 views

Having fewer lines of code per feature is typically better as it increases the developer productivity. Did anyone ever measure the number of code lines executions per line of code across multiple ...
Sebastian Wagner's user avatar
0 votes
2 answers
318 views

Suppose there is a C++ source code base of millions of lines composed of several hundred *.cpp and *.h files. There is also a driver program main.cpp that uses several header files from the above ...
user366312's user avatar
1 vote
3 answers
225 views

I recently finished an interview with a company as a web developer. I'm the first and only developer that is about to be hired in this company. They have a web application that was created by a ...
Saud Alghamdi's user avatar
-1 votes
1 answer
537 views

I have a repository with various tools/scripts written with ts-node and used in many projects. Initially, it contained several automation/analytics scripts, one package.json file at the root, and one ...
Dem0n13's user avatar
  • 99
7 votes
7 answers
1k views

I am building a small application that supports a research project. My goal is to make the code to be painlessly executable and readable on as many operating systems as long as possible. My reasoning ...
user7088941's user avatar
1 vote
5 answers
167 views

Let's say some method of a parent class is reimplemented in a child class. This child method is intended to do the same that the parent method, with a minor change. In this case, in the documentation ...
NonoG's user avatar
  • 21
-4 votes
1 answer
267 views

is it possible to view behind the scenes of an exe file once its executed? to find the answers of a test questions? For example if someone clicks on F12 on a website the code is viewable to the user, ...
blender breath's user avatar
1 vote
3 answers
426 views

I'm working on a 'slideshow'-type presentation (e.g. using LO Impress) which involves me showing people different alternatives for writing some pieces of software code. We're not talking about large ...
einpoklum's user avatar
  • 2,808
2 votes
3 answers
706 views

Whenever I do temporary fix I want it to really be temporary. However, there is no way to come back to it later, as the fix might be a part of a bigger issue. Let's imagine that we have for some ...
Random Guy's user avatar
2 votes
2 answers
319 views

I have to do a presentation of Convertigo, a LowCode/NoCode platform, for my IT class. I did a lot of research on it. What do developers think about a platform that permits to everyone to create an ...
Dirk's user avatar
  • 31
1 vote
4 answers
402 views

As far as I know the big argument for C#, Java and other high level languages having to be memory managed by a runtime environment is that the programmer does not take care of garbage collection or ...
stevie's user avatar
  • 225
-2 votes
1 answer
199 views

MPL v2, GPL v3 and other licenses alike require giving users access to source code. For desktop applications - does access have to be provided through the user interface (GUI)? Or can it just be ...
Programmer's user avatar
3 votes
1 answer
2k views

Our situation At first, our company had 1 product. Custom hardware with firmware we wrote ourselves. Now more projects are starting to be added. Many can reuse most of the components of our first ...
Kodiak's user avatar
  • 105
5 votes
2 answers
2k views

Let's assume I want to use an open-source software, the developer says that the software is open-source and provides the source code. Now my question is, how can I be 100% sure that the given binary ...
Harun's user avatar
  • 61
2 votes
0 answers
137 views

My company has about 200 repos for microservices and libraries that we share. It's largely been great, but it's hard to keep DRY at the organizational level. We'll often have a large amount of package....
Nick Sweet's user avatar
-2 votes
2 answers
61 views

We will finish a sprint with stories tested and "Done" and thereby closed in Jira. They often sit in a branch somewhere until someone remembers we have code waiting to be pushed live. Or worse, we go ...
DLT's user avatar
  • 201
0 votes
2 answers
90 views

we have a legacy project, on Windows. It goes on from 1990-s. Until very recently it was not backed by any version control, today it is moved into Git. The question is all the prior snapshots. As of ...
Arioch's user avatar
  • 117
2 votes
2 answers
312 views

I have come across a small issue with the git work flow in the team. When starting to work on a user story, we create a feature branch from the develop branch. Once the user story is finished, a ...
Joshua's user avatar
  • 129
3 votes
2 answers
330 views

Software libraries targetting resource constrained environments like embedded systems use conditional compilation to allow consumers to shave space and thus increase performance by removing unused ...
TZubiri's user avatar
  • 443
7 votes
2 answers
891 views

Software libraries targetting resource constrained environments like embedded systems use conditional compilation to allow consumers to shave space by removing unused features from the final binaries ...
TZubiri's user avatar
  • 443
4 votes
4 answers
369 views

I'm interested in starting coding dojos at the company I work at (during or after working hours). I think it will help to spread knowledge on how to write clean, concise and consistent code. I've been ...
Ankur22's user avatar
  • 85
2 votes
2 answers
484 views

I'm implementing a custom templated container as part of a learning project in C++. The container makes use of different components like serialization, memory management, iterators. I am wondering ...
NBWL's user avatar
  • 31
-1 votes
1 answer
140 views

There is a java code base based on the Spring Boot framework. As an activity I want to navigate the code path of every API method to check for the checked exceptions that are thrown at different ...
Simrandeep Singh's user avatar
22 votes
10 answers
14k views

I have been told by another fellow C programmer to write large applications in several different .c and .h files, and then compile them together. They say it will run faster. Does a multifile ...
user avatar
-3 votes
1 answer
97 views

My question is simple: What steps should you take to protect research from the vast amount of spyware or insecure applications on a given device? Background: I do research into developing new models ...
poodledot's user avatar
0 votes
2 answers
372 views

Got a largish legacy Java code base at my hands: ~100k LoC ~1100 classes monolithic and cohesive (no "modules" or so) many OOP abstraction layers almost no comments, etc. The task is to produce time ...
Yuri's user avatar
  • 211
1 vote
2 answers
228 views

I'm currently in a situation (i'm a technical lead) where the client has modified on his own the source code, and i'm being told to accept the changes and keep working on that version. Technically he ...
Ale's user avatar
  • 53
-1 votes
1 answer
1k views

I saw the term code vetting for the first time in a gerrit review page. What does it mean? The line I came across: "No XYZ check was done. However, if this project is intended to be shipped in ...
Dr. Essen's user avatar
  • 123
-1 votes
1 answer
190 views

Had this happened: A developer make a new feature, but not working, since last year, total code change is 100+files and 10k lines. Until recently, with help of another developer, get it to work. ...
bugs king's user avatar
  • 193
4 votes
2 answers
2k views

Is the sum of the cyclomatic complexity of all section in a file the total cyclomatic complexity for this file? If it is, is the sum of a set of related files the total cyclomatic complexity for this ...
cervh's user avatar
  • 83
0 votes
1 answer
780 views

I've been working on an open source project recently and have been checking out Core Infrastructure's best practices checklist. One of the items pertaining the "Change Control" checklist is as ...
lucasgcb's user avatar
  • 375
0 votes
2 answers
215 views

Part of our project includes an open source GO server that we have open sourced for transparency. How can we prove that we havent made any alterations to the code before we deployed it?
r2DoesInc's user avatar
  • 119
2 votes
0 answers
92 views

Lets say someone has written code for multiple companies that have then copyrighted you work. Another company gives them a similar project to one they have worked on previously. Would it be legal for ...
learning2code's user avatar
0 votes
3 answers
401 views

My company works with different developers from different studios, always sharing the code to everyone aboard. At the moment, we need to protect a part of the code, not from theft but from some ...
Tobias Bembhy's user avatar
-1 votes
2 answers
204 views

The more declarative code is, the less explicit technical details it contains and the closer it gets to requirements expressed in domain language. In the extreme case, there is no more difference ...
Frank Puffer's user avatar
  • 6,459
-3 votes
3 answers
796 views

I have gone through ken thompson's compiler hack paper, can't we just go through the complier's source code and check for any backdoor, what was the article's point? https://www.archive.ece.cmu.edu/~...
user9355495's user avatar
-1 votes
1 answer
161 views

A software company develops software packages for commercial animal farming. A special function in C calculates the daily amount of feed for different kind of animals dependent on their bodyweight....
tenepolis's user avatar
  • 285
1 vote
2 answers
364 views

I'm refactoring the framework of our company, trying to fix the issues we had in the past. We're a team of 6 developers, and we have various needs and issues in regards to tidying up our framework. ...
Gil Sand's user avatar
  • 2,193
-3 votes
1 answer
471 views

I am working in an iOS project which have two schemes enabled from configurations, Release Debug As you know Debug scheme is used for developers while developing features and testing etc. However, ...
Sazzad Hissain Khan's user avatar
0 votes
2 answers
276 views

Say I want to (try to) read through and understand a fairly complex piece of code (for example the free software Coreboot firmware code, which can be found here). How can I figure out where the code ...
Time4Tea's user avatar
  • 163
0 votes
2 answers
1k views

I have an object that acts as nothing more complicated than a data store for a collection of items. I do this because it lets me bind the data to a single object, which I can store in the Unity (game ...
Michael.Aaron.Williamson's user avatar
0 votes
1 answer
168 views

I'm working in C++14 and trying to figure out a way to put two classes (with the same name) inside the same header file. In this scenario one class would always be ignored as a result of something ...
Inertial Ignorance's user avatar
1 vote
2 answers
127 views

I'm the technical lead for a small company (6 developers). We currently use SVN and we're slowly porting over to Git, after everyone gets their training. Currently our clients are the ones who "pull ...
ShinEmperor's user avatar
1 vote
2 answers
261 views

I'm working on a service which has a lots of dependencies. The way how I call them is I'm wrapping each service client around an Adapter. Like this (I'm using Java): public abstract class AdapterBase&...
maestro's user avatar
  • 111
11 votes
9 answers
3k views

First, I read an excerpt Edsger W. Dijkstra's 1974 paper "On the role of scientific thought": Let me try to explain to you, what to my taste is characteristic for all intelligent thinking. It is, ...
Dennis's user avatar
  • 8,267
-2 votes
1 answer
595 views

I want to sell web app to be hosted internally and share source code with that specific client but not to be redistributed(commercially or non-commercially) to outside the office. They can edit and ...
aimme's user avatar
  • 119
7 votes
2 answers
5k views

I am looking into options for smoothing out our deliver and release pipeline, and would appreciate some advice on the best way to structure the source code. This is a pretty large project, which ...
user1038502's user avatar
4 votes
1 answer
880 views

Maybe this answer already exists here, but I do not know if there is any technical term for that. I'm starting to develop in C ++ and as the program grows in size, it gets harder to move through the ...
Rogério Dec's user avatar

1
2 3 4 5 6