DEV Community

stagefright5
stagefright5

Posted on

@All WebDevs - Please Remove Your Type Definitions From the Top of The Page

It gets in the way of reading the code. It's mostly not helpful if I'm trying to get the gist of the code.
Please move it to the end of the file or maintain it in a separate file.

Top comments (2)

Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ β€’

Or just use plain JS to avoid all that! πŸ˜‰

Collapse
 
stagefright5 profile image
stagefright5 β€’

You can still have obstructive JSDoc comments πŸ˜…

Image of Datadog

Get the real story behind DevSecOps

Explore data from thousands of apps to uncover how container image size, deployment frequency, and runtime context affect real-world security. Discover seven key insights that can help you build and ship more secure software.

Read the Report

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay