There is much to comment on the issue of iranian MIC, but first indeed the idea that the DPRK military is a joke is indeed a joke in itself. Personally i have every confidence that should DPRK be forced into a war with the west, their military performance would be shocking to the said west. Not to mention the possibility of a fair number of glass craters appearing in not a few US alligned asian and elsewhere countries and especially US mainland, but we digress.
Moving from that different discussion, DPRK and Iran are often compared militarily because imo at least Iran has a sad story of among others enormous MIC potential wasted. They have far more landmass, resources, a generally highly educated and much more numerous population. So whatever DPRK achieved militarily to date Iran should have easily matched and exceeded that, and then some. In fact Iran should have had everything DPRK has but in more numbers PLUS a competent and well developed aviation sector. But nevermind the stupid flacidity of "fatwas" against nukes by the incompetent mullahs, Iran has no form of ICBMs, supersonic cruise missiles, 5000 tons DDGs, AEW, upcoming SSBNs just to name a few.
Come to think of it, i don't even think Iran has the capability to build heavy AFV chassis from tanks to IFVs and other such vehicles that DPRK has (Zulfiqar is nothing but prototypes and Karrar i'm quite sure it's upgraded T-72).
Like i pointed several times previously, Iran HAS proven it can design and build competent weapons systems, their drones, SRBMs and SAMs are decent enough, but their are dragged down by the preposterous army within the army that is IRGC with it's own navy, air force and SAMs, thus duplicating efforts and systems senselessly, by the criminal neglect of IRIAF which is one of the main factors of the embarassing tactical showing vs the zionist regime in the present war, and above all by the cancerous corruption and fifth column that the iranian society and government is infested with.
Now that Iran has been attacked by the zionists and the americans, i fear for Iran, there is hardly any time or conditions now to turn around the above mentioned system illnesses. I don't know if they will endure the same fate as Iraq after 1991, being used as a punching bag and bombed every once in a while for the next decade before eventually either be invaded outright or more likely the syrian/libyan model applied where all kinds of terrorist groups will be supported and grown by the west culminating in a mostly air attack against the exhausted by then mullah regime to facilitate the take-over/breakup of Iran by said terrorists, leading to decades more of war and destruction.
The iranian mullah regime has only itself to blame for getting the country in this situation.