I know the language but still can’t code like other peers [closed]
Closed 10 years ago.
Dedupe while or after write
I have a summary tool written in python that reads input files, and writes them into a summary file. I have the following stipulations:
Dedupe while or after write
I have a summary tool written in python that reads input files, and writes them into a summary file. I have the following stipulations:
Improve coding quality
I have been dealing with programming for several years now (I am still a student but with a lot of internships). Mostly working with C++, Python and MATLAB, I noticed that whenever I download an SDK or a library from Internet/GitHub and look inside, the code is much more complex than mine, using error catches everywhere and other things that would never come to my mind while writing my own code. My question is, how can I learn or practice this kind of things? From my experience, no programming course talked about coding style, when and how to use try/catch efficiently, how to debug faster etc… I am also not thinking about using mutex while accessing one variable from different functions at the same time because my code is simply working without them and I didn’t face any problem until now.
Eliminate duplicate code in nested IFs without creating a function [duplicate]
This question already has answers here: How to tackle a ‘branched’ arrow head anti-pattern? [duplicate] (3 answers) Closed 9 years ago. Let’s say we have two ifs that depend on each other: if var exists { if var is array { //Do stuff with var } else { //Resolve the problem } } else { […]
Eliminate duplicate code in nested IFs without creating a function [duplicate]
This question already has answers here: How to tackle a ‘branched’ arrow head anti-pattern? [duplicate] (3 answers) Closed 9 years ago. Let’s say we have two ifs that depend on each other: if var exists { if var is array { //Do stuff with var } else { //Resolve the problem } } else { […]
Is this caution in Android API documentation an indication of suboptimal design?
The content below is from the Android developer site:
Is this caution in Android API documentation an indication of suboptimal design?
The content below is from the Android developer site:
Is this caution in Android API documentation an indication of suboptimal design?
The content below is from the Android developer site:
Is this caution in Android API documentation an indication of suboptimal design?
The content below is from the Android developer site: