Skip to content

u/Samus_

In this archive from Jul 2008 to Oct 2022

12
posts
191
comments
0
media
425
score

great talk, I'm not a fan of PHP even that I'm relatively competent with it but this made me want to try Hack.

I'm not a fan of static typing either but because most of the time it restricts you unnecesarily however I do appreciate type checking because it saves you from some errors, even on dynamic languages I'm not changing types arbitrarily, I don't even create lists of mixed types.

I think the best implementation of types and type checking would be one that prevented you from mixing strings and ints but allowed you to mix ints and longs by example so you don't have silly type errors that are not bugs.

Python does this kind of conversion (you can mix different numeric types but can't mix int and str) but it's not typed and does not do any type checking.

1 points

you're looking for an excuse to justify the decision you've already made but you're wrong :) so either fail and realize your mistake or do what you're being told and see the difference.

nothing will come from asking because you don't care about the answer.

5 points

I don't know what the original comment was since it's been deleted but to be fair, I'm subscribed to /r/javascript and I hate it deeply

the thing is, it's part of my job and it's important to keep myself updated; that's mostly the reason I'm subscribed here as well.

1 points

plenty of answers already but here's my 2bitcents

How does Git connect to my web server?

git is agnostic to network or even filesystem issues, that means you can use http, ssh, or even local dirs within the same machine (or NFS-mounted ones).

it's worth mentioning that there is a git:// protocol which is also available but it's not required, as long as you can reach the files it'll work.

How do I connect my text editor to Git?

That depends on your text editor, most IDEs have plugins to provide integration, you can also use a git GUI tool or even the commandline, git works on the files so it's not necessary to have it integrated on your IDE but it is convenient depending on your workflow.

Is that even how it works?

yeah, git works simply as a registry of changes that is stored locally within your files, unlike SVN that stores that on the remote server; in git you track the changes on your own machine and (optionally) synchronize them with remote copies for backup, sharing or collaboration.

Why should I use Git if I am the only developer for a certain project?

you should use a VCS even if you're the only developer because keeping track of the changes and having the ability to go back and review how things were done is really really useful, now why git in particular? that's up to you, there's many others.

ps: also check /r/git

1 points

don't get me wrong, I like your idea and you're perfectly fine developing it the way you chose to.

in my opinion you should've had more content before doing everything you're doing now, you mention that you'll START the alpha in a week, I would've done this announcement a month AFTER having started working on the project, preferabily after having something to actually show but that's just me so best of luck (again).

1 points

you don't get it, it doesn't matter what your intentions are you're using a pattern that is CLEARLY associated with apple, no matter what you say it'll look like apple.

1 points

I don't disregard the importance of it but I think it should be balanced with actual content and that should be first, even if it's just a PoC.

right now there's a good idea, tons of marketing and no content; I don't discredit OP's abilities or commitment but it's not an easy project and IMHO it would inspir more confidence if he tried to focus a bit more on accomplishemnts and then apply marketing to show them.

1 points

well, if I see 5+ domains/projects without content and trying to look like apple stuff the only thing I can think of is vapourware :) but sure, I can be as wrong as anyone else, good luck.

2 points

you're focusing too much on the marketing for this, better get something done and if it works it'll gain traction on its own.

you shouldn't have so much fragmentation either, use ONE name and ONE domain for the set or people won't know what they'll be looking for, it's ONE project after all.

ps: the iSomething is for apple and nobody will ever think about anything else.

3 points

one important thing to keep in mind is that SimpleXML does not treat text nodes as Strings (even that they look like it because of __toString() magic) you need to cast them to the appropiate types before working with them in code.

3 points

by the way, any particular reason you'd like to prevent the improvement of the language? as long as major/minor versions and backwards compatibility are respected this shouldn't be a problem, most projects have a deprecation policy and nobody complains like PHP people do.

6 points

given that both people "against" and "in favor" are referred to as "the community" (or "the users" or whatever) I would definitely say that "Speaking in such a way as to imply the contrary of what one says" applies.

nonetheless, it's a silly discussion :)

5 points

the article doesn't say or even imply that, in fact it says the opposite:

Eevee accused the PHP world of being created by and filled with amateurs.

Eevee is the author of the "fractal of bad design" post not this one, then after that:

The previous argument doesn't cover a lot of users, however. Many are using PHP ‘professionally’, and even have customers who may demand that work is done with PHP.

now go fuck yourself, you.

-2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.