[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Is dissecting others' code the fastest way to become accustomed
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 16
Thread images: 2
File: 1461638140635.png (80 KB, 499x499) Image search: [Google]
1461638140635.png
80 KB, 499x499
Is dissecting others' code the fastest way to become accustomed to a language you're new to?
>>
>>54298368

yes
>>
just use libraries learning how to code is pretty pointless
>>
>>54298419
But what if there isn't a library for what you want to do?
>>
>>54298368
Yes, but checking up reference later is very important.
Otherwise you might start using legacy/deprecated techniques and miss important facts.
>>
File: reversing[1].png (546 KB, 900x499) Image search: [Google]
reversing[1].png
546 KB, 900x499
lmao, to be honest, yes.
>>
>>54298468
There always is.
>>
No, you fucking retard.
>>
>>54298368
Do you have a bunch of projects you've written in a programming language you're familiar with? Try reimplementing those projects in the new language.
>>
desu, if you are asking /g/ you probably know more than /g/'s collective userbase.
>>
>>54298368
having a personal mentor is always better
>>
So long as it isn't C, where every programmer unconsciously practices for the IOCCC.
>>
You need to write code. Dissecting code is like reading books.
>>
It's one way to become accustomed, but the best way is to write something meaningful yourself
>>
>>54301907
this
can you imagine working on quake 3 trying to debug and looking at the fast inverse square root function?
>>
>>54302292
That one was a consultant hired to do some optimizing. The comments are where the id programmers could follow that it was a Newton's approximation, but couldn't see what the fuck the magic float number with int operations and shifting was for.
Thread replies: 16
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.