Ranter
Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Comments
		
- 
				
				 Grumm18933yvar str = String.Join(";", categories.Select(c => c.Name) ); Grumm18933yvar str = String.Join(";", categories.Select(c => c.Name) );
 
 C# version*
 
 (*) Condition that categories is a well defined class.
- 
				
				@ojt-rant wait, I should prepare for a larger backlash...
 
 $names = ["ScriptCoded"];
 
 //append later
 
 //array_push($names , "insert name here");
 
 foreach($names as $name){
 
 echo("It's ok I forgive you, $name<br>");
 
 }
- 
				
				
Related Rants
- 
						
							 practiseSafeHex3Dev manager: great news guys. We’ve built a new tool to do automated testing on apps. We’ve gotten rid of ... practiseSafeHex3Dev manager: great news guys. We’ve built a new tool to do automated testing on apps. We’ve gotten rid of ...
- 
						
							 liammartens14I'm getting so pissed off by this client, here's the gist We signed agreement defining the following delivera... liammartens14I'm getting so pissed off by this client, here's the gist We signed agreement defining the following delivera...
- 
						
							 fullstackcircus3managers: We're all aligned! Let's work as a team and get this started! devs: ok... managers and devs meetin... fullstackcircus3managers: We're all aligned! Let's work as a team and get this started! devs: ok... managers and devs meetin...





It's truly incredible, what people can create:
let categoriesText = '';
categories.forEach((item, i) => {
if (i !== 0) {
categoriesText =
categoriesText + `, ${item.categoryName}`;
} else {
categoriesText =
categoriesText + `${item.categoryName}`;
}
});
return categoriesText
How about you STFU!!!
return categories.map((category) => category.categoryName).join(', ');
rant
clowncode
🤡
horrible
reinvent the wheel
payed per line