3 ms·
Reading code, particularly as a beginner in the industry.
by abhishekjha 9y ago
Reading code, particularly as a beginner in the industry.
- mafagafogigante 9y agoThis. Being able to work on code that you (or the person sitting next to you) didn't write is fundamental but often ignored in university courses.
- johnvanommen 9y agoMy number one complaint about University Courses. We didn't spend a single minute doing what most of my job consists of: reading someone elses code and trying to decipher what the heck they were trying to do.
- collyw 9y agoOne you have done enough of it it maddens you enough not to make the same shitty mistakes. Keep things as simple as possible and no simpler.
- passiveincomelg 9y agoAgreed, nobody reads code. Also nobody considers "debuggability" when picking languages/libraries/frameworks/etc.
- realbarack 9y agoYeah, this is the most important, ubiquitous thing which in my experience doesn't get explicitly taught anywhere. Are there any particularly excellent books on the subject?
- cimmanom 9y agoLike reading a human language, once you can "sound it out", so to speak, it's something once typically gets better at by practicing. With well-structured code, as with a well-structured essay, you can learn to skim to get an overview before your deep dive by focusing on the beginning and end of every chapter/paragraph/etc (e.g. function definition and return statement; gate for each block; treating header files as Table of Contents; etc). But most code is no better structured than your average Tumblr post, so that's kind of hit and miss. And as with reading human language, you can learn techniques for taking notes as you go along to guide yourself or remember important details; but the technique that one person finds helpful may be a waste of time for another.
- marktangotango 8y agoA book won’t teach you, pick a large open source project you use daily like nginx or apache and study it starting at main.