# Naming: Remove all underscores to matter what?

**URL:** <https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549>\
**Category:** General Usage\
**Created:** [January 23, 2018, 5:52pm UTC](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549 "2018-01-23T17:52:55Z")\
**Posts on this page:** 4\
**Page:** 7

<div class="post-metadata">

**Author:** ![bramtayl](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bramtayl/32/3614_2.png) [@bramtayl](https://discourse.julialang.org/u/bramtayl)\
**Post date:** [January 27, 2018, 6:07pm UTC](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549/121 "2018-01-27T18:07:58Z")

</div>

> [@Palli](#):
>
> Was allowing both ways considered?

Once 1.0 drops, I think it might be fun to make a package of underscore aliases.

---

<div class="post-metadata">

**Author:** ![lakshgupta](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lakshgupta/32/101_2.png) [@lakshgupta](https://discourse.julialang.org/u/lakshgupta)\
**Post date:** [January 27, 2018, 7:29pm UTC](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549/122 "2018-01-27T19:29:55Z")

</div>

I find camel case solving most of such problems.

---

<div class="post-metadata">

**Author:** ![anon94023334](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Post date:** [January 28, 2018, 6:00pm UTC](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549/123 "2018-01-28T18:00:58Z")

</div>

I want to repeat an audacious suggestion made by someone I trust and respect (who might not want to be outed for it): what if - (just hear me out, ok?) - what if we _silently ignored_ underscores in function names? That is, `is_foo` would be transparently equivalent to `isfoo()`. Sorta like how gmail deals with `.` in its email addresses.

Yes, there are probably lots of arguments why this is a Bad Idea, all sorts of horror stories about What Will Break, but it’s an intriguing idea in any case.

---

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [January 28, 2018, 6:10pm UTC](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549/124 "2018-01-28T18:10:42Z")

</div>

I’ve decided to make a `Readable.jl` package, that has nothing more than renaming of all base functions to have `_` between words 😀  
i.e.

```julia
const is_valid = Base.isvalid
const has_length = Base.haslength
const has_method = Base.hasmethod
const hash_index = Base.hashindex

```

(at least for the exported ones)

[Previous page](https://discourse.julialang.org/t/naming-remove-all-underscores-to-matter-what/8549.md?page=6)
