Jump to content

Recommended Posts

Posted

https://github.com/NYTimes/objective-c-style-guide

[sarcasm]

Hurrah!  The programming experts at the New York Times have published their style guide for C.

Start cleaning up your code folks.

[/sarcasm]

This was aparently written for Objective-C, but they want it to be adopted for all C-style languages.

That's right.  All this time, you thought turning to technical publications and fellow coders was the way to go, when in fact you should have been turning to a newspaper.

[can't seem to  /sarcasm]

Posted

What's so special about this? It's just some rules used by NYTimes to make sure their code base is following the same style.

  Quote

This style guide outlines the coding conventions of the iOS team at The New York Times. 

 

It's far more important that everybody in a team follow the same conventions than that the code is 100 % correct from a philosophical standpoint (which of course isn't even objective(-c)). 

Broken link? PM me and I'll send you the file!

Posted
  On 8/8/2013 at 12:38 PM, monoceres said:

It's far more important that everybody in a team follow the same conventions than that the code is 100 % correct from a philosophical standpoint (which of course isn't even objective(-c)). 

I'll second this. Consistency is always the best, else reading/working on an existing codebase is arguably enough reason to suicide.

Ever wanted to call functions in another process? ProcessCall UDFConsole stuff: Console UDFC Preprocessor for AutoIt OMG

Posted

The Google style guides are interesting read, and the Facebook open-source code (folly) is nice to peruse although they don't have a style guide per se.  Still, Andrei Alexandrescu, who's a part of that team and author of Modern C++ Design, is an amazing talent from which alot can be learned about coding style.

My contributions:

  Reveal hidden contents

Performance Counters in Windows - Measure CPU, Disk, Network etc Performance | Network Interface Info, Statistics, and Traffic | CPU Multi-Processor Usage w/o Performance Counters | Disk and Device Read/Write Statistics | Atom Table Functions | Process, Thread, & DLL Functions UDFsProcess CPU Usage Trackers | PE File Overlay Extraction | A3X Script Extract | File + Process Imports/Exports Information | Windows Desktop Dimmer Shade | Spotlight + Focus GUI - Highlight and Dim for Eyestrain Relief | CrossHairs (FullScreen)Rubber-Band Boxes using GUI's (_GUIBox) | GUI Fun! | IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) | Magnifier (Vista+) Functions UDF | _DLLStructDisplay (Debug!) | _EnumChildWindows (controls etc) | _FileFindEx | _ClipGetHTML | _ClipPutHTML + ClipPutHyperlink | _FileGetShortcutEx | _FilePropertiesDialog | I/O Port Functions | File(s) Drag & Drop | _RunWithReducedPrivileges | _ShellExecuteWithReducedPrivileges | _WinAPI_GetSystemInfo | dotNETGetVersions | Drive(s) Power Status | _WinGetDesktopHandle | _StringParseParameters | Screensaver, Sleep, Desktop Lock Disable | Full-Screen Crash Recovery

Wrappers/Modifications of others' contributions:

_DOSWildcardsToPCRegEx (original code: RobSaunder's) | WinGetAltTabWinList (original: Authenticity)

UDF's added support/programming to:

_ExplorerWinGetSelectedItems | MIDIEx UDF (original code: eynstyne)

(All personal code/wrappers centrally located at Ascend4nt's AutoIT Code)

Posted

I don't think I have ever been anywhere even close to what they want to see.  But then again, I have always had an aversion to newsprint on my fingertips.  It messes with the pizza sauce flavor. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...