Better HN
topnewbestaskshowjobs
Log inSign up

silon4

7 karma · joined Nov 11, 2011 (15y ago) · 12 submissions

Submissions

comment 14y ago · link · parent

Personally, in my own code I also like to put pass at the end of all blocks. It's more consistent, and it also makes auto indent in the editors work properly. Anyone else?

comment 14y ago · link · parent

Abusing javascript as a semicolonless language is a bad idea (Go also).

If you wish to have a langage without semicolons, design your grammar properly, not add kludges to the lexer.

comment 14y ago · link · parent

I'm waiting for python to fix "from __future__ import braces". Or at least make "pass" mandatory for end of block

comment 14y ago · link · parent

POST /orders/42?pay=1

POST was always about actions, not just resources.

comment 14y ago · link · parent

If it's a flash problem, I don't think Chromium has flash at all.

comment 14y ago · link · parent

If RAM is precious, you shouldn't use GC anyway. It typically has 2x memory use overhead to reduce GC performance cost.

comment 14y ago · link · parent

I like the same model. (send password change token to email). BrowserID from Mozilla may help here too.

comment 14y ago · link · parent

Me too :(((

comment 14y ago · link · parent

Agreed, but there's a solution. Emacs recognises the end of a block by using "pass" to end the block. This makes it reindent properly. It's not the official python style, but I prefer to write code that way. Try it, it's not bad.

comment 14y ago · link · parent

Or the zeroth month.

comment 15y ago · link · parent

For me, broken Alt+Tab that switches applications instead of windows is a non-starter. And the top application menu bar.

The rest is OK and I can learn/adapt.

comment 15y ago · link · parent

>they're basically cloning OSX bad habits: instead of switching between windows on Alt+Tab they're now switching between apps (across virtual desktops!).

This is THE reason why I will not touch gnome-shell/unity. Too bad, because I could get used to most other stuff (except unity's menu bar on top) and I believe it has potential. Multiple displays and virtual deskops are a minor annoyance that can be improved.