Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shahriarhaque
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Challenges of pursing a CS degree at the CMU Qatar campus
(shahriarhaque.com)
1 points
by
shahriarhaque
14y ago
|
0 comments
2.
▲
Structural Pattern Matching using Exceptions
(shahriarhaque.com)
5 points
by
shahriarhaque
15y ago
|
0 comments
3.
▲
Pattern in the flags of Middle Eastern countries
(shahriarhaque.com)
1 points
by
shahriarhaque
16y ago
|
0 comments
4.
▲
by
shahriarhaque
16y ago
I think this could be another brilliant addition to the "documentation view". Imagine a multi-tabbed documentation pane. The first tab lets you write normal comments, but in another one you could write doctests like the example you gave, or
5.
▲
by
shahriarhaque
16y ago
When you start your source file with a huge chunk of "how" comments it is likely to not match the actual code path. But that's not how I think the "documentation mode" will work. You write how comments for every small chunk of code. Then
6.
▲
by
shahriarhaque
16y ago
I agree that "Why" comments are infrequent, but they are still important. I work in the scientific computing field and here "whys" are they key to understanding code. But lengthy explanations of why certain steps of the algorithm are needed
7.
▲
Don’t just write comments, tell a story
(shahriarhaque.com)
36 points
by
shahriarhaque
16y ago
|
16 comments
8.
▲
by
shahriarhaque
16y ago
* Take out a spreadsheet, put down the names of your ideas in every row, put your evaluation criteria in the columns (Ease of development, New Skills, Current Progress, Real Life Value, etc). * Add a row at the bottom to specify the weight
9.
▲
Swing Query & Annotated Event Listeners
(squery.posterous.com)
1 points
by
shahriarhaque
16y ago
|
0 comments
10.
▲
by
shahriarhaque
16y ago
If you want to know learn how to implement not-so-out-of-the-box GUI elements, I will suggest a book called Swing Hacks. If you want advanced controls, plus some nice animations, try Filthy Rich Clients. Both books are for the Java Swing li
11.
▲
Why should JS coders have all the fun?
(squery.posterous.com)
31 points
by
shahriarhaque
16y ago
|
9 comments
12.
▲
by
shahriarhaque
16y ago
I wouldn't say it's a Holy Grail or Magic Wand, or whatever you want to call it. I would say: learning a (pure) functional language, or taking a university course on it, is a religious experience. One that every programmer should go through