Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Abednego
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
262 ms
·
1.
▲
by
Abednego
16y ago
I don't think this is enough for a lot of common cases. Let's say you want to write a 'sort()' function. It takes a 'vector' and a comparator function. Unless that comparator function is declared 'const', you can't be sure that it won't des
2.
▲
by
Abednego
16y ago
I think you might like Python. I would argue that automatic inference of 'const' is a very bad idea because it defeats the whole purpose of having 'const' in the first place -- to catch bugs at compile time. If somebody modifies 'find()' in
3.
▲
by
Abednego
16y ago
Google Code Jam allows BOOST and all other freely available languages and libraries.
4.
▲
by
Abednego
16y ago
"Real libraries"? Hey!
5.
▲
by
Abednego
16y ago
Thanks. I'm glad you find them useful.
6.
▲
by
Abednego
16y ago
Thanks for the summary. This is my code. I've since switched to using "Bst" instead of "BST" for class names. I've also stopped putting spaces inside parentheses and angle brackets. Although I still think that code looks better with the spa