Viewing profile — b2gills
b2gills
HN member- Joined
- Sun, Jan 18, 2015, 5:08 PM UTC
- HN karma
- 191
- Public activity
- 210 items
- HN profile
- View on Hacker News ↗
About b2gills
No profile information was provided.
Recent public activity
-
comment
Comment #42124102
I didn't downvote, but this is by far not the first time something like that was stated (Raku being similar to Roku). I know I'm tired of seeing it, I'm sure others are as well.
-
comment
Comment #42124093
I'm sure that there has been more changes from Perl 5.8 to Perl 5.40 than there is between Python 2.0 to Python 3.x (Whatever version it is up to at the moment.) What's more is tha…
-
comment
Comment #42124048
I've often thought of Raku as being a lot like the English language. It borrows heavily from other languages. Of course since Raku has the benefit of an actual designer, it is more…
-
comment
Comment #42124030
I've heard that the best way to solve a hard problem is to create a language in which solving that problem would be easy. Basically creating a Domain Specific Language. Raku isn't …
-
comment
Comment #42123958
This has nothing to do with the halting problem. And I have no idea why you think there would be 'terrible consequences'. 2, 4, 8 ... * The `...` operator only deduces arithmetic, …
-
comment
Comment #42123872
That's nothing, use it to calculate the sum of range of values say [+] 1..10000000000000000000000000000000000000000000 Which will result in you getting this back in a fraction of a…
-
comment
Comment #42123848
I once heard of a merger between a company that used Java, and another one that used Perl. After that merger, both teams were required to make a similar change. If I remember right…
-
comment
Comment #42123831
Many of the features that make Perl harder to write cleanly have been improved in Raku. Frankly I would absolutely love to maintain a Raku codebase. I would also like to update a P…
-
comment
Comment #42123781
Java inspired the Design Patterns book. Every Design Pattern is a workaround for a missing feature. What that missing feature is, isn't always obvious. For example the Singleton De…
-
comment
Comment #42123610
"Actual parsers" aren't powerful enough to be used to parse Raku. Raku regular expressions combined with grammars are far more powerful, and if written well, easier to understand t…
-
comment
Comment #42123242
>> magic functions—which behave differently on lists-of-scalars vs. lists-of-lists by special default logic ... That is completely the wrong way to think about it. Before the Great…
-
comment
Comment #33415489
I don't think Perl is really that hard to learn. It does have a few traps for people new to the language though. Raku on the other hand is easy to learn. Of course it is so easy to…
-
comment
Comment #28294371
The `but` keyword takes an instance and something to mix into it. So you can say something like this: 0 but True --- Since `True` is a `Bool` it automatically creates a role that h…
-
comment
Comment #28292947
It was originally for helping to organize Perl events. It acted as an entity that could enter into contracts for insurance and rental purposes. It was extended to have grants among…
-
comment
Comment #27773928
I think it matters who your audience is. If your audience is mostly programmers then just use `*` If your audience is physicists or mathematicians then `×` or `·` may be a better f…
-
comment
Comment #27773624
It would be easy to just make `·` an alias. Then that code would work. my &infix: = &infix: ; (After all `×` itself is just an alias of `*` in the source for Rakudo.) If you need m…
-
comment
Comment #27708405
They'd probably just define each of the segments separately and require you to use a zero width joiner.
-
comment
Comment #27708340
Raku say π ≤ 3+⅘ ≤ τ # True say π² ÷ 4 # 2.4674011002723395
-
comment
Comment #27708309
I remember reading an article that the width of railway track was set by the width of chariots. I don't remember much about the article except it ended with some quip about the wid…
-
comment
Comment #27708239
In Raku you can also use × (U+D7) for multiplication # this assumes that ϕ, ψ, and θ have already been set my \cϕ = ϕ.cos; my \sϕ = ϕ.sin; my \cψ = ψ.cos; my \sψ = ψ.sin; my \cθ = …
-
comment
Comment #27707996
Technically it is MoarVM that handles graphemes as synthetic codepoints. We call it NFG for Normalized Form Grapheme. The JVM and JavaScript backends currently use the built-in str…
-
comment
Comment #27540612
It certainly does. (Or rather Rakudo the compiler for Raku does.) There are some for people coming from Perl. say $^V; ===SORRY!=== Error while compiling: Unsupported use of $^V va…
-
comment
Comment #27537080
You can if you put in the work to set it up. There are two (nearly identical) talks by Emily Shea - Perl Out Loud https://www.youtube.com/watch?v=Mz3JeYfBTcY - Voice Driven Develop…
-
comment
Comment #27537005
Actually once you setup a compose key it can become second nature. I program in Raku, which can be written using only ASCII, but it can be clearer if you mix in a bit of Unicode. F…
-
comment
Comment #27536608
I also wonder how many people understand that linenoise meant noise on a data cable of some description. i.e. the difference between `d` and `$` is a single bit. If your cable happ…