Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 9 lis 2008 · Do you follow a standard for wrapping long lines in source code? What line length do you find most comfortable to read? Sometimes I find people who program on wide-screen monitors and like to use its full width for displaying source code.

  2. 23 lut 2009 · With modern IDEs and large screen resolutions 80 characters is probably not "optimal", but for many developers maintaining readability in the terminal is essential. For that reason it is not likely that 80 character width will be replaced as the de facto standard for code width anytime soon.

  3. 15 maj 2012 · To answer more precisely and more thoroughly to the question, 80 characters is the current "universally accepted" limit to code width inside editors because 80x24 and 80x25 formats were the most common screen modes in early I/O terminals and personal computers (VT52 - thanks to Sandman4).

  4. Formatting makes source code easier to read by human beings. By enforcing particular rules and conventions such as line spacing, indents, and spacing around operators, the code becomes more visually organized and comprehensible. You can view an example on the autopep8 page.

  5. 26 lip 2024 · Set the width to 100%: The main content pane on MDN Web Docs is about 700px wide on desktop, so the embedded code examples must look OK at that width. Set height below 700px: We recommend keeping this height for the rendered code example width for maximum onscreen legibility.

  6. 16 mar 2016 · If you enforce line length/width of code, use a tool. Resharper; Visual Assist; etc. The developers decide what a reasonable length is (80, 120, 200, etc.), set that option in the tool. After that, just write the code as you normally would without regards to how wide or long the line is.

  7. 29 mar 2024 · Step 1 — Using the Format Document Command. With the Prettier extension installed, you can now leverage it to format your code. To start, let’s explore using the Format Document command. This command will make your code more consistent with formatted spacing, line wrapping, and quotes.

  1. Ludzie szukają również