13 kinds of developer you will meet in your career
Developers have strong views and beliefs in their code. Everyone thinks differenly and thus writes codes in a different way. Sometimes it’s fun to step back and enjoy the diversity among all the styles that, even within the same language, proliferate against all linting rules. I belong to several of these categories. Which ones do you think mirrors yours the most?
The functionally inclined
When I grow up I want to be an Haskell developer!
1 | public List<Trigger> getTriggersForFunction(String functionName) throws IOException { |
The stateful tester
He doesn’t like parallel tests
1 | public class AccountTest { |
The code compressor
Blank lines? What are those?
1 | class DataViewComponent extends React.Component<Props> { |
The wrapper
Why have one short method when you can have four shorter methods?
1 | public Status getApiStatus(String name) throws ApiException { |
The master cloner
Just mass producing code
1 | it('has correct loadUser action', () => { |
The carriage-return guy
Never once he went beyond 70 characters per line
1 | class DataReference(BaseReference): |
Captain obvious
He writes obvious comments. Duh
1 | /** |
The reflection enthusiast
We have to go deeper!
1 | private static Object instantiate(Class<?> klass) throws Exception { |
The webdev from the late 2000s
People are still trying to get rid of jQuery to this day
1 | $('button[type=submit]').click(function (e) { |
The thief
He’s not even using hazelcast in there…
1 | import org.hibernate.Criteria; |
The passive aggressive
You don’t want to piss him off during code review
1 | function* generatePoints (startingPoint) { |
The mathematician
Gotta get those formulas right
1 | def compute_weights(m, x0, x, dtype='float_'): |
The jester
He’s a funny guy through and through
1 | public class Terminator { |