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

Dashboard
Notifications
Mark all as read
Meta

How about a new section for code reviews?

+4
−0

I just felt like what if we have a separate section for code reviews. This section is strictly meant for code reviews in domains like DSP, VLSI( for instance "Verilog" programming) ,Embedded systems etc.The rules for posting should be similar to any other question posted in this site.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (4 comments)

3 answers

+5
−0

Regarding scope of embedded systems/firmware

When we released Software Development, I made a push to make all forms of embedded systems programming off-topic and re-direct such to this site.

The reason for this is is my experience from the "embedded" tag over at SO, where I'm one of the top users and pretty much the only one that has been consistently moderating that tag over the years. That tag attracts a whole lot of bad or off-topic questions.

Embedded systems trouble-shooting or review questions asked at a pure software site almost always end up in the borderland between software and hardware. It is very common that you don't know if the reason for the problem is located in software or hardware. And then it is not sufficient just to view the source code to find the problem, you'll need datasheets and schematics too. Quite often the problem is related to how a certain data bus is used.

Also, if the problem happens to be the software, the question is on-topic for the programming site. But if the problem was hardware, then suddenly it is off-topic.

So these kind of questions were always best to ask at the Electrical Engineering sites, where firmware development (microcontrollers, HDL, PLC etc) is on-topic.


Regarding reviews

This means that code review questions of firmware are also best asked at the Electrical Engineering site.

I've been participating in SE's Code Review site too, and whenever embedded systems questions pop up there, you tend to get confused PC programmers chiming in, coming up with advise that ranges from mildly useful to horribly wrong.

Generally, I think all forms of design review of electronics should be on-topic here. Schematics, component choice, PCB layout, real-time requirements, source code.

(Take for example someone asking for a review of their switch debouncing. They are using RC low pass filters as well as a software filter. How do you review that overall design without viewing schematics + code both?)

So if we are to make a new category, it should perhaps be named Design reviews and not just restricted to source code, but to any form of design reviews. I'd love to see more design reviews of schematics and layouts on this site too.

Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

General comments (4 comments)
+3
−0

I'm too new to this site's mechanics to judge whether a new category is warranted or not.

However I really welcome the idea of supporting design reviews (both HW and SW) to a larger extent than simple troubleshooting a specific part of a design, which is already allowed now.

I would particularly welcome the feature especially if there were some provisions to let open source hardware/software designs have a premium treatment. This would constitute a great learning exercise for users of this site, especially young designers (be they students or hobbyists).

Of course this would need ironing out some strict guidelines to avoid being dumped with unmanageable work or to be seen as a free design service.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

+1
−1

Personally I wouldn't want another category (what you seem to mean by "section"). I also don't think this should be a code review site.

However, asking for validation and advice on small and specific pieces of code is already on topic, if that code is somehow related to hardware.

For example, this isn't the site to ask about a general C sorting function. But, you could ask people to look over a small section of code that sets up the UART on a particular microcontroller to make sure that specific hardware is managed correctly. An assembly routine to perform a floating point to fixed point conversion on a specific micro with limited instruction set might also be on topic.

The main point is, that to be on topic here, there has to be some aspect of the code that is tied to hardware or the peculiarities of particular embedded processors.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!