I am a beginner and so far I have learned about statement, yes-no question, w- question, command but this kind of text seems very strange though I somehow get what it says.
Nudeln kochen, Schinken in Streifen schneiden, Zwiebeln und Tomaten in Würfel schneiden, Zwiebeln in einer Pfanne anbraten.
since it’s a recipe how to cook a dish. I assume that it should be written in command structure which can be translated
Cook noodles. Slice ham. Cut onions and tomatoes into cubes. Roast onions in a pan.
However, it isn’t written in the form of command I have learned. Usually, the verb must take 1st position then the subject and the object after that but in that text, subject is omitted and object comes 1st then the verb. And somehow it uses many commas to write only one sentence instead of dot to write many sentences. Is it ok to do that? What’s the problem with writing each clause into a sentence in this case?