Can I use the noun hacker as an adjective?
For example, can I write or say:
It was a hacker trick.
so that it means this:
It was a trick of a hacker.
And can I use
It's hacker code.
so that it means this:
The code has been created by a hacker.
Can I use the noun hacker as an adjective?
For example, can I write or say:
It was a hacker trick.
so that it means this:
It was a trick of a hacker.
And can I use
It's hacker code.
so that it means this:
The code has been created by a hacker.
Both "hacker trick" and "hacker code" are acceptable. Technically, the word doesn't become an adjective. English nouns can act as modifiers (called attributive nouns or noun adjuncts). For more information, check out this tutorial.
I would prefer using "hack" instead of "trick of a hacker" or a "hacker trick" as the word hack in itself would mean that it is a patch or a clever workaround(in other words a trick).
It was a hack.
And to indicate that its a "hacker's code", use
Its hacky code.
instead.
From Wikitionary
Hacky : Using, or characterised by, hacks
I work in cyber and have never heard of hacky. It sounds unprofessional and on the level of "script kiddies".
I like hacker trick or hacker code.