Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] local lambdas: request for coding standard clarification/judgement call"
2018 Jul 05
7
RFC: should we spell lambdas like functions?
I argue we should spell C++ lambdas (and other function-like variables) like functions, not like variables.
- Use verbs, not nouns.
- Use lowerCamelCase.
Here's a patch that implements the change to the coding standards:
https://reviews.llvm.org/D48991 <https://reviews.llvm.org/D48991>
Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 Jul 06
2
RFC: should we spell lambdas like functions?
> On Jul 5, 2018, at 1:09 PM, Rui Ueyama via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>> On Thu, Jul 5, 2018 at 12:57 PM Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>> I argue we should spell C++ lambdas (and other function-like variables) like functions, not like variables.
>>
>> - Use verbs, not nouns.
>
> I think I agree with
2007 Dec 19
1
noun-verb vs verb-noun aka dogs black vs black dogs
Wow. I wasn't expecting such a voluminous reply -- some I agree with and
some I don't.
My apologies for an equally voluminous reply.
On Wed, 19 Dec 2007, Tony Plack wrote:
> > We're not discussing code or the inner workings of Asterisk or even
> > changing the functionality of Asterisk, just what the proper order of
> > the words should be.
> >
> >
2007 Oct 01
3
How to beat Google aka Xapian & Natural Language Processing.
Xapians!
If tomorrow Xapian search engine would achieved the same performance
and result in searches as Google we would not be able to beat Google,
because we would create only a copy of the searches that already
exists from Google search engine. However there is a way to beat
anyone, and there is a way to beat Google successfully as well just do
not give up. Some see it as implementing Ajax, or
2006 Jun 12
4
Modelling: A table of domains
Greetings!
I''m thinking of setting up a table of "domains", consisting of the core
fields id, code, name, description, and type. Users is a domain, orders
is a domain, recipes is a domain, etc. Domain attributes other than
those covered by the core fields will go to, say, a user_other_fields
table, recipe_other_fields, etc. I see the advantage of having all
2016 Aug 09
1
Man page for idmap_rid
On 08/09/2016 03:18 PM, Rowland Penny via samba wrote:
> On Tue, 9 Aug 2016 16:04:04 -0300
> francis picabia via samba <samba at lists.samba.org> wrote:
>
>> On Tue, Aug 9, 2016 at 3:35 PM, Rowland Penny via samba <
>> samba at lists.samba.org> wrote:
>>
>>> On Tue, 9 Aug 2016 15:21:53 -0300
>>> francis picabia via samba <samba at
2018 Jul 10
2
RFC: should we spell lambdas like functions?
> On Jul. 5, 2018, at 18:12, Bruce Hoult via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
>
> On Thu, Jul 5, 2018 at 5:30 PM, Adrian Prantl via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
>
> > On Jul 5, 2018, at 1:09 PM, Rui Ueyama via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at
2006 Aug 04
4
REST
I''ve been looking into RESTful approaches lately. Everything I know
my dog, Lelu, taught me.
REST (REpresentational State Transfer) is an architectural technique
for networked applications first described by Roy Fielding in his
dissertation at UC Irvine-- excellent work, especially considering
the tempting proximity of Newport Beach. As Lelu described it to me,
REST strives
2006 May 03
5
Finding the rhyme for has_many :through
Hi all,
I am NOT a person with English as my mother language and I haven''t been
programming long enough to be natural in these kind of things. And if
that isn''t bad enough, I am a newbie on Rails too... So please enligthen.
I am trying to build a simple tool for my shop. I have many products
that I sell in my shop and of course I have many suppliers for the
products. Thus
2018 May 24
3
Style: getFoo() vs foo()
The coding guidelines say:
> Function names should be verb phrases (as they represent actions), and
command-like function should be imperative. The name should be camel case,
and start with a lower case letter (e.g. openFile() or isFoo()).
This means that functions that just compute or access a value (no
side-effects) should be named e.g. `getParent()`, rather than `parent()` as
they are in
2011 Sep 30
3
error while using shapiro.test()
hey all, I'm just getting used to R and i'm having issues when it comes to
reading my data in rows rather than columns. any good advice would be much
appreciated !
here is the error:
> data1 <- read.table(file.choose(),header=T)
> x1 <- c(data1[1,1:5])
> shapiro.test(x1)
Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) :
'x' must be atomic
2016 Aug 09
2
Man page for idmap_rid
On Tue, Aug 9, 2016 at 3:35 PM, Rowland Penny via samba <
samba at lists.samba.org> wrote:
> On Tue, 9 Aug 2016 15:21:53 -0300
> francis picabia via samba <samba at lists.samba.org> wrote:
>
> > I've been working with the third statement being true and exercising
> > the rid option.
>
> Can I suggest you put it back, or add the RFC2307 attributes and use
2015 Jun 16
2
[LLVMdev] AliasAnalysis refactoring for the new pass manager
> On 2015-Jun-15, at 16:29, Chandler Carruth <chandlerc at gmail.com> wrote:
>
> On Mon, Jun 15, 2015 at 3:56 PM Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
> I like this colour:
>
> enum class AliasKind /* or AliasCategory? */ {
> Null,
> Unknown,
> Partial,
> Complete
> };
>
> So, the only
2007 Jul 06
1
Using nouns
Luke,
I thought about what you said about nouns, but having trouble coming up
with an example of what you mean.
Would you be willing to rework my example into the words your talking about?
I''m not asking for a solution here...this is more about how to think
about the problem being solved.
Mike B.
----------------------------------------------------------------
This message was sent
2015 Jun 16
4
[LLVMdev] AliasAnalysis refactoring for the new pass manager
So, after looking at *doing* this, I'm left with more questions and no good
answers. C++ has truly failed me today.
This enum is currently designed (and even *documented* as being designed)
to allow conversion-to-bool to detect whether any alias is possible (that
is, only no-alias becomes false). This makes it *really* easy to write the
overwhelming majority of test: if ("do things
2023 Mar 03
3
[PATCH] docs: Prefer 'cookie' over 'handle'
In libnbd, we quickly learned that distinguishing between 'handle'
(verb for acting on an object) and 'handle' (noun describing which
object to act on) could get confusing; we solved it by renaming the
latter to 'cookie'. Copy that approach into the NBD spec, and make it
obvious that a cookie is opaque data from the point of view of the
server. Makes no difference to
2018 May 24
0
Style: getFoo() vs foo()
> On 24 May 2018, at 20:19, Sam McCall via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The coding guidelines say:
> > Function names should be verb phrases (as they represent actions), and command-like function should be imperative. The name should be camel case, and start with a lower case letter (e.g. openFile() or isFoo()).
>
> This means that functions that
2018 May 24
1
Style: getFoo() vs foo()
On 24.05.2018 13:11, Dean Michael Berris via llvm-dev wrote:
>
>> On 24 May 2018, at 20:19, Sam McCall via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> The coding guidelines say:
>>> Function names should be verb phrases (as they represent actions), and command-like function should be imperative. The name should be camel case, and start with a lower case
2006 Jul 31
3
Simply_RESTful and Bulk Import URLs
Hi,
I have a people controller, and want to import bulk import multiple
people from a CSV file.
In my routes.rb file I have:
map.resource :person
Now, it''s a little unclear to me how to further configure the routes to
allow me to add the following URLs:
I need a URL to choose a file to upload, so I need an HTML ''frontend''
for it, so I figured the following URL
2007 Jan 21
2
A few questions: Tweaking StemFilter, indexes, ...
Hello all,
I am new to the list, but I have been using ferret for a little bit
already. I would first like to thank Dave for all his work on ferret.
I had a few questions that I haven''t been able to figure out after
messing around with ferret and going through the documentation.
StemFilter ------
I am trying to improve the quality of my searches in context of the
content of my