Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Lorenzo Donatiā€­

Type On... Excerpt Status Date
Edit Post #288955 Initial revision 10 months ago
Answer A: How can we grow this community?
I just submitted a proposal to DuckDuckGo here for a new "bang" for their search syntax. If approved: `!coddsw searchterm` will trigger the following URL: `https://software.codidact.com/posts/search?search=searchterm` I did the same for EE Codidact (here the announcement). I chose the ...
(more)
10 months ago
Edit Post #288940 Initial revision 10 months ago
Answer A: What are disadvantages of static functions (ie functions with internal linkage) in C?
Besides what Olin already said, I guess too many people were taught C using K&R book, which was great at the time, but it completely neglects modern SW engineering best practices (encapsulation, data hiding, modularization, etc.), many of which were popularized to the wider programmer audience by C++...
(more)
10 months ago
Comment Post #283890 That's nice. Just something is missing: the definition of `cstring_cstr` used in the call to `puts` in the example usage. Moreover, I'd like to see a complete class implementation. Maybe you could fill-in all the removed parts, if the resulting answer wouldn't become too big.
(more)
10 months ago
Comment Post #282489 I would find it interesting, especially encapsulation and setters/getters. I was about to suggest writing a "paper" but I realize now that that is a category only on EE.codidact.
(more)
10 months ago
Comment Post #285813 @#8176 Mmm. I admit that your multidimensional array example had me stumped and I have to think about it. Moreover, I agree that the terms "pointers" and "references" are language-specific. What I argued about is the term "pass-by-reference", which is (on the contrary) quite standard (albeit the impl...
(more)
10 months ago
Comment Post #287301 I share your concern: bad recommendations are worse than no recommendations. However I strongly feel there is a really bad need for a place where books and (IMO) other Internet sources (e.g. reference sites like cppreference.com) are evaluated and reviewed *with competence*. I agree we may still lack...
(more)
10 months ago
Comment Post #285813 @#8176 Moreover your example of a "function passed by reference" is not relevant, since functions in C are not objects (they are not first class values), so there is nothing to be passed except their pointers. That's true even in other contexts. Function identifiers represent pointers to the code of ...
(more)
10 months ago
Comment Post #285813 @#8176 Sorry, I disagree. In the first case you *specify* an array, but that array is not actually passed to the function (i.e. the function doesn't get *direct* access to the object). Array decay makes that completely equivalent to directly pass a pointer, which is *copied*. The function always gets...
(more)
10 months ago
Comment Post #285716 Sorry to disagree with some points. Yes C has references (in the form of pointers) and you can pass them to functions. However that is not what in computer language theory and practice is known as a "pass-by-reference" mechanism. This latter is the ability of a function to *access* the object that th...
(more)
10 months ago
Edit Post #282777 Post edited:
General grammar and spelling review. Some style adjustments.
10 months ago
Edit Post #282839 Post edited:
over 2 years ago
Comment Post #282843 Thanks for solving this. I edited my question to clarify things.
(more)
over 2 years ago
Edit Post #282839 Post edited:
over 2 years ago
Comment Post #282839 Thank you really for spending your time for testing that. However, I had already flagged that comment, but I wasn't sure of the usual workflow here. So I contextually posted that complaint on meta. And I still have to adapt to the user interface (which is still a bit more cumbersome that the one on t...
(more)
over 2 years ago
Comment Post #282839 You tell me I have no evidence about the downvotes. You are right. The same is true for that comment. There is no evidence that I copy-pasted. So that comment has to go (who cares about the downvotes). And the fact the commenter had a shit day *may* justify his hasty posting. But that is not a good r...
(more)
over 2 years ago
Comment Post #282839 As I explained **I'm getting really pissed off** not because of the loss of rep points, but the loss of *actual* reputation. That comment is still there and is associated with my answer and my REAL name. Anyone working in academia or related fields knows *how bad is that accusation*, since *it would ...
(more)
over 2 years ago
Edit Post #282839 Post edited:
over 2 years ago
Edit Post #282839 Post edited:
over 2 years ago
Edit Post #282839 Post edited:
over 2 years ago
Edit Post #282839 Post edited:
over 2 years ago
Edit Post #282839 Initial revision over 2 years ago
Question Unfair accusation in a comment and consequent loss of *actual* reputation
I posted an answer here and IIRC received one or two upvotes. Then a user falsely accused me of copy-pasting from Wikipedia without citing my sources. To that accusation I replied here. However, now my answer is at -3 votes, apparently because of that false accusation. I guess that thi...
(more)
over 2 years ago
Edit Post #282777 Post edited:
over 2 years ago
Edit Post #282777 Post edited:
over 2 years ago
Edit Post #282777 Initial revision over 2 years ago
Answer A: constructor in C
Since in your question you seem to be surprised about OOP being done in C, I'll add some more information. There is a difference between Object Oriented Programming (OOP) and an OOP language, such as Java or C++. OOP is a set of concepts and techniques, or, if you feel more enlightened, a progr...
(more)
over 2 years ago