DEV Community


What's Your Most Common Linting/Building Error?

forstmeier profile image John Forstmeier Updated on ・1 min read

I pretty constantly run go test and golint on my code as I'm writing it and I always, always, always, hit this error...

function must be invoked in go statement

...because I always forget the () at the end of the statement.

I've made this mistake many, many times, and I'll make it many, many more because my brain refuses to learn from this one...constant...mistake. Do you have any small errors/warnings/etc that you constantly run into when building your code?


EDIT: I'd love to see the errors in text blocks or something - it really puts a "face" to the name. : )

Discussion (4)

marcel_cremer profile image
Marcel Cremer
Unused import in file ... line ...

Writing Typescript :)

david_j_eddy profile image
David J Eddy

Calling a static method in a non-static invocation in PHP.

txai profile image

When I'm programming in C I always get that warning about implicit function declaration... Sigh

mdor profile image
Marco Antonio Dominguez

Try to perform operations with undefined attributes

Forem Open with the Forem app