Lying about your software engineering chops might get you fired, maybe even on the hook in a civil lawsuit. Lying about being a professional engineer while practicing engineering is usually a criminal matter.
So I can't imagine lying about your software engineering chops landing you in prison even if we're talking about critical sectors like medical or aerospace.
getting an engineering degree from a university requires you to study a lot of the same higher mathematics regardless of specific field, and entitles you to call yourself an engineer, even in CS.
the "professional engineer" certification is a bit more vocational, indicates you've passed qualifying exams based less on intense math and more on your knowing standards for specific govt building codes, etc.
there are traditions where CS came out of Math, still STEM but not generally part of the School of Engineering
https://ij.org/press-release/oregon-engineer-wins-traffic-li...
It is like Canada in practice, depends on the terminolgoy they use. The two world's of "engineering" are so separated from each other, that's why I wrote a comment and that's why you are unaware of the distinction.
You have skyscrapers in Canada, oui? If you want to change something structural on the facade (O, Canada, I mean façade) near the top of a skyscraper, like put in a balcony/observation deck, they are not going to let you do that till your plans are reviewed by a licensed engineer. Not any old engineer, only by somebody Licensed to review plans like that, who will take into account everything that needs to be taken into account, like crap falling on pedestrians walking below, 30 years from now when the concrete is starting to disintegrate.
That is a licensed engineer. Canada has them. You don't know about them because you don't own a skyscraper. I know about them because I was on my condo board... in a skyscraper. they do structural, electrical, HVAC, plumbing, etc.
It’s just not a practical degree in the US. You don’t need thermodynamics, statics, and a bunch of other physical engineering requirements to build software.
It's more like digital construction: Programming is more like the construction project, and less like the AutoCAD "design" piece that engineers work on. The AutoCAD piece has more in common with product design than programming.
If anything, designers should be "engineers" and "eng. directors", and programmers should be "technicians" and "technical directors". They engineer products, with deliverables being design documents. And the techs implement it with the deliverable being the technology itself.
[1] https://www.nspe.org/resources/ethics/code-ethics/engineers-...
Sadly, programmers have been doing too much of the design work in recent decades, and the result has been akin to "the inmates running the asylum".
At least here, both are called (software) developers and I really don't want to be painted with the same brush as web cowboys who don't value stability and things done "properly".