Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
WillBAnders
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
The Rhovas programming language is now 5 years old
(blog.willbanders.dev)
5 points
by
WillBAnders
3y ago
|
0 comments
2.
▲
by
WillBAnders
3y ago
I'd say it's definitely a data structure, but one with a canonical string representation. It may not be fundamentally a string, but that representation is critical to how we convey it's meaning to such extent that it's u
3.
▲
by
WillBAnders
3y ago
The best way to represent HTML is with HTML itself, not an HTML-like system that varies in subtle ways between languages and libraries that happens to be missing the one feature you need. I'm a large fan of Embedded DSLs (Domain-Specif
4.
▲
Semantic Analysis Abstractions – DSLs in Programming Languages
(blog.willbanders.dev)
13 points
by
WillBAnders
4y ago
|
0 comments
5.
▲
Syntax Macros for Embedded DSLs: Programming Language Design
(blog.willbanders.dev)
5 points
by
WillBAnders
5y ago
|
1 comments
6.
▲
by
WillBAnders
6y ago
You bring up a good point that I never addressed the case where setting a property to a value and getting it could return a different value - this is something I overlooked, and I would say absolutely needs to be true. I also didn't do
7.
▲
by
WillBAnders
6y ago
Direct field access sets the internal state of an object from outside of it's implementation. I would say the key underlying principle here is messaging passing - the object chooses how it responds to API requests it receives - and fie
8.
▲
by
WillBAnders
6y ago
With the RgbColor example, a language that has mutability permissions (like Rhovas) resolves this easily. If you don't have mutable access to the object, setters can't be used.
9.
▲
by
WillBAnders
6y ago
Yes! I wanted to address this idea in the article, but it didn't make the final cut as I didn't think it added much to the points being made. Moving away from direct field access and only using functions is definitely in line with
10.
▲
by
WillBAnders
6y ago
This is an interesting question, I was not aware of this behavior in C#. It looks like the solution is to use annotations to specify a property as being ignored. The intended behavior is to serialize all fields of an object (some properties
11.
▲
A Case for Properties: Programming Language Design
(blog.willbanders.dev)
39 points
by
WillBAnders
6y ago
|
49 comments
12.
▲
Show HN: Eskew – stack inspired language for RacketCon 2019
(github.com)
2 points
by
WillBAnders
7y ago
|
0 comments