Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
p6steve
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
p6steve
3y ago
I really like sigils for several reasons and I do miss them when in non sigil languages - imo raku made two big improvements over perl that is to avoid changing the sigil on accessing an item and to have an unsigilled option for people who
2.
▲
by
p6steve
4y ago
in Raku, this is: class A { has $!bar; #private has $.baz; #public (with autogenerated accessors) method !foo {} #private method foz {} #public }
3.
▲
Raku and Rust: A Romance?
(p6steve.wordpress.com)
3 points
by
p6steve
4y ago
|
0 comments
4.
▲
by
p6steve
4y ago
Hi @ritchie46 - I have just written [raku Dan]( https://github.com/p6steve/raku-Dan ) as a way to scratch the "data analytics" itch in a new way -- my next step is to write Dan::Polars as a polars binding via (
5.
▲
by
p6steve
5y ago
A single binary dependency may be a better fit for one project as you outline, but I would make the wider case for a common core language that provides a DSL toolkit with a recursive descent style Grammar capability. This helps to build cri
6.
▲
by
p6steve
5y ago
Yes, that’s precisely what I am trying to say. With FatRat (aka BigInt) by default then the casual programmer has to know to step explicitly into Num (eg by 1e-1 + 2e-1 which needs a bit of a scientist mindset) or will never benefit from al
7.
▲
by
p6steve
6y ago
typing, roles/inheritance and multi dispatch together offer a very clean coding model that cuts through the usual if-then-else wool
8.
▲
by
p6steve
6y ago
great question @msvan - raku has many ... for me the unique genius of raku is to have stolen all of the best parts of type system, OO, grammars & regex, functional and procedural coding and jammed them into one smoothly integrated synta
9.
▲
by
p6steve
6y ago
'use Inline::XXX;' gives raku coders access to Perl5 (CPAN) and python modules
10.
▲
by
p6steve
6y ago
This is the natural result of building a publicly funded empire of literally hundreds of ex-perl hackers in a room and telling them (i) justify your job and (ii) you are not allowed to do anything different because the BBC must not compete
11.
▲
Raku Objects: Confusing or What?
(p6steve.com)
3 points
by
p6steve
6y ago
|
0 comments
12.
▲
by
p6steve
6y ago
this works now x for input and output ... the challenge for this kind of thing in bare code is that you need a LOT of namespace ... .oO maybe override the dot?
13.
▲
by
p6steve
6y ago
this is also important - but imo, and in practice from perl5, the Units library experience is a lot richer if you can do both - especially for entry level programmers such as high school students - more on this to come in v2