Hacker Newsnew | past | comments | ask | show | jobs | submit | necavi's commentslogin

Python allows the overriding of just about every operator. For Pathlib they overrode the division operator to instead perform path addition in a platform agnostic manner.


> Python allows the overriding of just about every operator.

Except the boolean operators (and, or, not). For instance __and__ overrides the binary and (&), not the boolean and.


That's True, but you _can_ override __bool__.[1]

[1] https://docs.python.org/3/reference/datamodel.html#object.__...


It may seem that way at first, but quite honestly, some voices they do CAN damage your ability to speak/sing/etc. Under those circumstances it seems completely reasonable to pay someone more for taking a risk with their primary method of generating income.


http://en.wikipedia.org/wiki/Clean_room_design

They're taking a route that is intended to prevent legal challenges in the future. It makes quite a bit of sense.


Not very helpful but personally I'm in a very similar situation - I've always worked on programming since I was a kid but never had the opportunity to get a degree and every single programming job in my area requires at minimum a 2 year CS degree, so I took a job as an industrial electrician which unfortunately means throwing out almost all of the knowledge that I've worked my entire life for.

I'd be very interested to see what others have to say about this, I doubt if it is a very uncommon problem at the moment.


tl;dr just go for it, don't care for the requirements, impress them.

Why i'm saying this? well ...

I don't have a CS degree, matter of fact i dropped out of university, i got hired three times as a developer in three different companies with a very good salary (compared to Palestine standards, since i live in Palestine), i switched jobs because i hated working for someone, so the last job i quit i decided to start my own startup, and now i am into a lot of programming projects.

I program in Ruby, JavaScript, PHP, C#, ActionScript, Java, and i play with other languages, i taught my self all that, so my friend you can do this and even do better, jut believe in your skills.


Read your whole answer, thanks. I decided I'm gonna go for it no matter what.


A lot of the stuff I see on the front page tends to be simply what is "popular" at the time, not necessarily what is relevant to my interests, I find that the new tab has a more balanced view, in general.


I believe that the reason that many government sites have gone dark is because most of them have a large amount of dynamic content that relies on some amount of human oversight which cannot be provided currently. Switching to a static page is much easier and cheaper than providing warnings/removing links to content that will not work during the shutdown.


Yeah, some have gone that route: http://www.ed.gov. Just put up a notice and leave everything accessible.

Others aren't redirecting, but are unavailable: http://nces.ed.gov/ipeds


Hmm, my girlfriend just got that too. Interesting.


If I remember correctly, originally that's what it did, a C++ program was compiled to C, then compiled to binary.


My generally rule of thumb is to pick a project that is far beyond what I could hope to do in the language in a reasonable amount of time, then work as hard as I can, get as far as I can with copious amounts of googling and docs reading. By the end of it I have a good idea of how to work on the language. (And sometimes even a finished project)


That's what the middle mouse button is for.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: