Hacker Read
top
|
best
|
new
|
newcomments
|
leaders
|
about
|
bookmarklet
login
rolandog
2023-09-27 08:55:33
|
next
[–]
update item
(on:
Show HN: A JavaScript function that looks and behaves like a pipe operator
)
Ooh, I love this style of operator overload. Really clever.
reply
Loading...
sort by:
oldest
newest
similarity_score
page size:
10
20
50
100
prezjordan | karma 3527 | avg karma 3.05
|
2014-10-12 15:56:23
|
next
[–]
similar comments
(on:
Manipulate audio with a simple Python library
)
Cool idea! I like the overloaded operators.
reply
KAdot | karma 207 | avg karma 3.23
|
2016-03-22 18:48:05+00:00
|
next
[–]
similar comments
(on:
Silicon: C++14 web framework
)
That's how the operator overloading abuse looks like.
reply
tangus | karma 394 | avg karma 3.68
|
2023-11-04 07:36:44
|
next
[–]
similar comments
(on:
Bibi-binary
)
That's actually a really practical set of operators.
reply
ezekg | karma 4522 | avg karma 2.44
|
2018-06-20 21:41:50
|
next
[–]
similar comments
(on:
Demand for Ruby on Rails is Still Huge
)
I didn't even think of using it with operators. Awesome.
reply
BOOSTERHIDROGEN | karma 458 | avg karma 1.1
|
2024-05-19 23:45:20
|
next
[–]
similar comments
(on:
Ask HN: Do you still use Google search?
)
What is your favorite operator?
reply
sedatk | karma 4557 | avg karma 2.78
|
2019-10-03 11:06:55+00:00
|
next
[–]
similar comments
(on:
Do you have a problem? Write a compiler
)
They could also overload operators for terseness.
reply
Smaug123 | karma 6343 | avg karma 4.01
|
2017-04-10 22:08:52+00:00
|
next
[–]
similar comments
(on:
How real are real numbers? (2004)
)
Which operator?
reply
krotton | karma 124 | avg karma 1.85
|
2015-02-02 10:56:07
|
next
[–]
similar comments
(on:
C++ named operators
)
No, they could equally well be two different overloads of a single operator.
reply
mahmud | karma 19227 | avg karma 3.94
|
2010-08-13 15:59:24+00:00
|
next
[–]
similar comments
(on:
Strangest language feature
)
"Goddamn operator overloading" -- Rev Wright
reply
thelittleone | karma 1896 | avg karma 2.5
|
2023-11-20 11:31:50
|
next
[–]
similar comments
(on:
OpenAI's misalignment and Microsoft's gain
)
Operator?
reply
Razengan | karma 5899 | avg karma 1.51
|
2019-10-15 13:27:33+00:00
|
next
[–]
similar comments
(on:
What’s New in Python 3.8
)
I like to use characters like those as custom operators whenever I can. :)
reply
quirky_mind | karma 1 | avg karma 1.0
|
2021-01-05 11:12:05+00:00
|
next
[–]
similar comments
(on:
Physics Without Probability (2015) [video]
)
Looks like someone reinvented operators. Or am I missing something here?
reply
andrewpk | karma 23 | avg karma 1.44
|
2016-12-07 21:59:45+00:00
|
next
[–]
similar comments
(on:
Set in Your Ways: Perl 6’s Setty and Baggy Types
)
those hyper operators...
reply
sp332 | karma 55607 | avg karma 2.75
|
2016-04-01 07:09:03
|
next
[–]
similar comments
(on:
Wow, Perl 6 [video]
)
That's not a joke at all, you really can define those as custom operators if you want to.
reply
quaa55 | karma 45 | avg karma 1.25
|
2019-09-24 22:04:40+00:00
|
next
[–]
similar comments
(on:
Attacking Default Installs of Helm on Kubernetes
)
operators.
reply
tomduncalf | karma 8246 | avg karma 7.42
|
2021-04-23 14:20:12+00:00
|
next
[–]
similar comments
(on:
Get better at Googling
)
Wow had no idea most of these operators existed. Thanks for sharing (and to the original post too, I didn't know a couple of those e.g. before:)
reply
iou | karma 814 | avg karma 4.03
|
2022-01-01 01:06:29
|
next
[–]
similar comments
(on:
Ask HN: How do I protect myself against SIM swap attacks?
)
Amazing, it seems reasonable that all operators would follow this, I'll have to try this out.
reply
mesaframe | karma 342 | avg karma 1.64
|
2021-02-26 15:32:57+00:00
|
next
[–]
similar comments
(on:
Python for Lisp Programmers (2000)
)
Ok, I thought about *operator.
reply
lizhang | karma 9 | avg karma 0.26
|
2021-10-28 13:13:05
|
next
[–]
similar comments
(on:
Teenage Engineering Computer-1 mini-ITX Chassis
)
I love the pocket operators :)
reply
next
Legal
|
privacy
reply