DEV Community

Discussion on: Code Smell 66 - Shotgun Surgery

Collapse
 
qm3ster profile image
Mihail Malo • Edited

For me, right now, both gists are linked to shotgun.php.

I strongly suggest you use markdown code blocks with syntax highlighting instead, especially for such short snippets. They are more lightweight, require less work, support theming (don't blind people, despite having dark theme both here and on github the gist embed is a brilliant white) and avoid bugs such as swapped-gist-order. There is almost no excuse to ever use a gist on DEV.to, this is not Medium.

Collapse
 
mcsee profile image
Maxi Contieri

Hi

There is a bug in dev.to mobile app related to caches (another code smell)
Try refreshing it.
I upload code in Gists since I am sharing it with other articles.
Nevertheless I am working in an automatic migration to embed and use the syntax as you pointed out

Collapse
 
qm3ster profile image
Mihail Malo

I was on web, with clean cache. It's fine now (still gists, but in correct order)