Only showing results from ycombinator.com
🌐
Hacker News
news.ycombinator.com › item
Moreover, Google’s style guides contain a very specific clause at the beginning.... | Hacker News
December 9, 2020 - https://google.github.io/styleguide/javaguide.html · Google requires all code to go through code review, so to avoid time being wasted by style disputes or reviews being sent back for style-only changes, style disputes are essentially banned. Anything that can be enforced by an auto-formatter ...
🌐
Hacker News
news.ycombinator.com › item
Google's updated Java coding guidelines | Hacker News
February 2, 2014 - I've never understood this one: adding `default` just prevents the compiler from telling you when you forgot to handle a particular case...in which case (heh), why use a switch statement at all? What are you buying over a series of if-else statements, other than possible code reuse due to the ...
🌐
Hacker News
news.ycombinator.com › item
Google Python Style Guide | Hacker News
February 13, 2023 - Defaults are useful when you are providing a library function for other teams to use. If you’re inside a more private code base and doing work on the implementation of your team’s service then it is wise to avoid default arguments · The problem is they provide a point after which it seems ...
🌐
Hacker News
news.ycombinator.com › item
Google C++ Style Guide Is No Good | Hacker News
December 4, 2018 - Yes, those are the cases where it isn't possible to avoid forward declarations, so it's fine to use them · No, globals like that are very problematic, so much so that there is a clang warning specifically to detect these (-Wexit-time-destructors). exit runs global destructors, so if one thread ...
🌐
Hacker News
news.ycombinator.com › item
Google C++ style guide | Hacker News
April 11, 2014 - But it's not exactly a style guide I'd follow strictly in a new project/team · It's like, do you know C++ or don't you? Value semantics are C++
🌐
Hacker News
news.ycombinator.com › item
Can someone explain the differences between Google and the C++ standards committ... | Hacker News
January 3, 2023 - As someone much more experienced in other languages like Python and Swift, my biggest surprise when using C++ is that the language standard and the compiler are two different things. In Python, the default CPython interpreter is the standard - if it's not in CPython, it's not standard Python.
🌐
Hacker News
news.ycombinator.com › item
Ask HN: How far could you get Coding without Google? | Hacker News
July 22, 2022 - Inspired by: https://www.reddit.com/r/Python/comments/w46m73/how_far_could_you_get_without_google · That's still the case, but it feels like today's software development reality is different. There are endless frameworks, apis, devops methods, scalability concerns, and n+1 standards with which ...
🌐
Hacker News
news.ycombinator.com › item
Software Engineering at Google (2020) | Hacker News
August 16, 2023 - A lot of other companies get into trouble trying to cargo-cult what Google does when they are operating in very different environments wherein those practices aren't optimal. E.g. different levels of scale · Additionally, critics of Google may point out that their engineering culture may not ...
🌐
Hacker News
news.ycombinator.com › item
Ask HN: Which C++ style guide do you follow? | Hacker News
March 10, 2019 - LLVM A style complying with the LLVM coding standards · Google A style complying with Google’s C++ style guide
Find elsewhere
🌐
Hacker News
news.ycombinator.com › item
I had a similarly bad Google experience that I've talked about before[0] but wil... | Hacker News
August 5, 2021 - I was asked to do a task that eventually boiled down to a topological sort, and I thought the question consisted of recognizing that the answer was a topological sort and moving on because it was over the phone · However, that was not the case. The interviewer wanted me to code it all out ...
🌐
Hacker News
news.ycombinator.com › item
Software Engineering at Google | Hacker News
March 22, 2020 - For example the book has a section called "How Code Review Works At Google." And it goes on to describe strictly the google3 process. But Chrome, ChromeOS, GoogleX, others have different processes. If Google has a proven model, why do so many of its projects deviate from it · During my time ...
🌐
Hacker News
news.ycombinator.com › item
Why Google Style Guide for C++ is a deal-breaker | Hacker News
June 18, 2014 - I'd rather have a very small company-wide style guide of maybe 10 points which mainly cares about the public interface of a project. One project might not be able to switch to C++11, but another new project from scratch might decide to make use of all the C++11 bells'n'whistles · When choosing ...
🌐
Hacker News
news.ycombinator.com › item
Coding without Google | Hacker News
May 29, 2016 - The development side of things are also better. All of these open-sourced, internet-networked tools/libraries/languages allow you to build really powerful stuff really quickly. Yes, there is a huge quality and maintenance problem, with lots of people writing libraries they instantly abandon, ...
🌐
Hacker News
news.ycombinator.com › item
The readability process at Google is a way to gain the ability to submit code wi... | Hacker News
March 18, 2020 - It used to be that you had to do a "readability review" which was a large change that you developed specifically to gain readability in some language. A style reviewer would approve it after (usually) many rounds of comments, and then thereafter you had C++ readability forever · More recently ...
🌐
Hacker News
news.ycombinator.com › item
GNU Coding Standards: Writing Robust Programs | Hacker News
June 12, 2021 - But then the person RUNNING the program will only see this: · Abort trap: 6 And that's all the info you'll get from their bug report
🌐
Hacker News
news.ycombinator.com › item
Google CEO says more than a quarter of the company's new code is created by AI | Hacker News
November 13, 2024 - But the code completion engine is basically just good at finishing the lines I'm writing. If I'm writing "function getAc..." it's smart enough to complete to "function getActionHandler()", and maybe suggest the correct arguments and a decent jsdoc comment · So basically, it's a helpful ...
🌐
Hacker News
news.ycombinator.com › item
What was the code quality of the initial version of Google? | Hacker News
April 23, 2011 - I'll credit this with a major shift in my thinking about what constitutes "good" programming. From the outside, I looked at Google and thought "wow, they're accomplishing amazing things, they must have amazing engineering practices". And yeah, things are pretty rigorous...but what I found was ...
🌐
Hacker News
news.ycombinator.com › item
Google Tech Dev Guide | Hacker News
December 25, 2018 - Found under "Foundations of programming" -- this is exactly the type of problem I'd expect as question one under this section. When it's made by Googlers, that is · I make a lot of cool stuff day to day, and usually that requires a lot of code and knowledge about programming and topics that ...
🌐
Hacker News
news.ycombinator.com › item
It was at the very top of Google's corporate code of conduct until[1] 2018. 1. h... | Hacker News
February 20, 2023 - 1. https://gizmodo.com/google-removes-nearly-all-mentions-of-do · https://abc.xyz/investor/other/google-code-of-conduct/