全 199 件のコメント

[–]TheNumb 256ポイント257ポイント  (105子コメント)

It is PhpStorm.

[–]beder 91ポイント92ポイント  (10子コメント)

Thought it looked a lot like intellij, makes sense is from jetbrains

[–]alienith 33ポイント34ポイント  (3子コメント)

Also explains why my first thought was Android Studio

[–]speedster217 22ポイント23ポイント  (2子コメント)

And why I thought it was PyCharm

[–]dmv1975 41ポイント42ポイント  (1子コメント)

And my axe!

[–]stereopump 8ポイント9ポイント  (5子コメント)

If you like the style, IntelliJ's dark theme is nearly identical.

[–]TheRealKidkudi 22ポイント23ポイント  (1子コメント)

I'm pretty sure it's the same UI just differently specialized features.

[–]mostancient 6ポイント7ポイント  (1子コメント)

You mean Darkula?

[–]TuxGamer 1ポイント2ポイント  (0子コメント)

Yeah, that one they announced to become open-source in 2013. There has never been an update :( still missing this theme in NetBeans, but I made my own one. Darcula is still better. There is a github repo, but these files won't work without the IntelliJ dependencies: https://github.com/bulenkov/Darcula

[–]ntldr 1ポイント2ポイント  (0子コメント)

Darkula is available for pretty much all Jetbrains products

[–]lindymad 32ポイント33ポイント  (1子コメント)

This is correct - you can see the icon highlighted on the desktop to the left of the IDE

[–]bebe3000 6ポイント7ポイント  (0子コメント)

This is why I don't understand the question. That's my dumbest google search and still works.

[–]Compizfox 22ポイント23ポイント  (85子コメント)

and it's the shit

[–]jk3us 3ポイント4ポイント  (4子コメント)

I got it, but just can't get the hang of it. It does really weird things that I haven't figured out how to control.

[–]Asmordean 10ポイント11ポイント  (3子コメント)

I've been using it for quite a while. If you're willing to do the song and dance of projects it's great but if you want to open up one or a few files to make some quick tweaks too or slap something together it can be very frustrating.

That's where I use Brackets instead.

[–]afkiel 1ポイント2ポイント  (0子コメント)

You can't beat a quick and dirty text editor. Sometimes you just don't want to wake the beast.

[–]odinsbane 0ポイント1ポイント  (1子コメント)

Is Brackets an open source Adobe project?

[–]-Hegemon- -1ポイント0ポイント  (0子コメント)

Pffft, NetBeans dude!

[–]yaymountainbiking 8ポイント9ポイント  (0子コメント)

They really need a fork called PhpShitstorm for those of us who get stuck with shitty legacy code.

[–]this1 1ポイント2ポイント  (0子コメント)

Huh, I thought it was Sublime, good eye man!

[–]tacobellsupport[S] 1ポイント2ポイント  (1子コメント)

Many Thanks <3

[–]einsiedler 0ポイント1ポイント  (0子コメント)

PhpStorm with Dracula theme. I think the standard theme is white.

[–]pizzacakemonster 0ポイント1ポイント  (0子コメント)

Googled "phps editor" and got it.

[–]joseph_fourier 0ポイント1ポイント  (0子コメント)

TIL all jetbrains IDEs look the same.

[–]BlackDeath3 108ポイント109ポイント  (4子コメント)

const COMMAND_REPLY = 'replay';

eye twitches

[–]ChemicalRascal 9ポイント10ポイント  (3子コメント)

Well, this is the exact reason that it's a defined constant.

[–]BlackDeath3 3ポイント4ポイント  (2子コメント)

I'm not speaking ill of the use of constant substitutions (there's something just wrong with the phrase "constant variable"), I just wish I could correct the typo! But yes, this serves as a fine motivation for the centralization of magic numbers and string literals.

[–]ChemicalRascal 2ポイント3ポイント  (0子コメント)

Oh, I know! I was just amused by the coincidence, that the typo occurred in the definition of a string constant.

[–]pooper-dooper 1ポイント2ポイント  (0子コメント)

something just wrong with the phrase "constant variable"

Everything is wrong. A constant and a variable are two separate things. I understand people making the mistake, but what's happening is the conflation of variable with identifier. A variable and constant both have an identifier, but a constant is not a variable.

[–]highclasshole 57ポイント58ポイント  (2子コメント)

I got excited when I saw this "Its intellij I use it everyday" then I saw all the php on his screen. ahhhhh PhpStorm

[–]TPHRyan 3ポイント4ポイント  (0子コメント)

I just went "Oh, it's PhpStorm, I use it everyday!" and then noticed there were 130+ comments and the question had most definitely been answered.

[–]BoTuLoX 5ポイント6ポイント  (0子コメント)

Same here with PyCharm. But I can forgive the JetBrains guys when their products are sooooo good.

[–]tepkel 97ポイント98ポイント  (10子コメント)

echo "banana";exit;

[–]knigitz 56ポイント57ポイント  (0子コメント)

"Guys, I figured out why all it says is banana."

[–]borgesvive 22ポイント23ポイント  (3子コメント)

you found the bug

[–]tepkel 22ポイント23ポイント  (2子コメント)

Feature

[–]0xJRS 0ポイント1ポイント  (1子コメント)

"Its really really great"

-Tim Cook

[–]tepkel 0ポイント1ポイント  (0子コメント)

"It only says banana. Every. Single. Time."

uproarious canned applause and cheering

[–]grthomas 15ポイント16ポイント  (0子コメント)

Hey don't knock it, that's a legit debugging tool in PHP.

[–]bboozzoo 186ポイント187ポイント  (13子コメント)

not Emacs

[–]huck_cussler 26ポイント27ポイント  (1子コメント)

i.e. "other"

[–]the_gnarts 7ポイント8ポイント  (0子コメント)

i.e. "other"

“Third party”

[–]ew73 11ポイント12ポイント  (0子コメント)

Maybe neovim.

[–]bateller 12ポイント13ポイント  (7子コメント)

not vi

[–]phantom94 11ポイント12ポイント  (6子コメント)

not vim

FTFY

[–]xelxebar 4ポイント5ポイント  (5子コメント)

not ed

FTFY

[–]Faberge_Omelette 5ポイント6ポイント  (2子コメント)

?

[–]xelxebar 7ポイント8ポイント  (1子コメント)

Ed begat ex. Ex begat vi. Vi begat vim. -- Unix Bible, Genesis 2:22

[–]adamnew123456 [スコア非表示]  (0子コメント)

You bastard. The top Google hit for that result was this.

[–]supereater14 1ポイント2ポイント  (1子コメント)

not cat >

[–]xelxebar 1ポイント2ポイント  (0子コメント)

Good point. Let's be badass and use butterflies though:

https://xkcd.com/378/

[–]xeroxorcist 18ポイント19ポイント  (1子コメント)

That's Steve. He just started last week.

[–]afkiel 3ポイント4ポイント  (0子コメント)

He's a bit intense. Nobody likes him, but he serves it hot and fresh, so what can ya do?

[–]winnie666 14ポイント15ポイント  (3子コメント)

4 hours and nobody asked? What's this from?

[–]Reverent 7ポイント8ポイント  (0子コメント)

google reverse image search suggests it's just a stock photo.

[–]JhonneyV -4ポイント-3ポイント  (1子コメント)

My guess is from the show Silicon Valley based on the man in the reflection looking like Gilfoyle.

[–]Raybdbomb 1ポイント2ポイント  (0子コメント)

Nope on the guy looking like Bill, and nope on it being Silicon Valley.

[–]obct537 34ポイント35ポイント  (2子コメント)

Finally a question in /r/linux that was simple enough for me to contribute to, and I'm 3 hours late :P

[–]C1yde 2ポイント3ポイント  (0子コメント)

Its cool dude, I'm in the same boat and I feel your pain. You arnt alone.

[–]redditor_gds 0ポイント1ポイント  (0子コメント)

I am about 17 hours late.. So your better I guess..

[–]mrstejdm 6ポイント7ポイント  (0子コメント)

PHPStorm I use this daily.

[–]Lhopital_rules 6ポイント7ポイント  (3子コメント)

Can anyone who writes MVC-structured PHP assess the code here? It looks like utter BS.

[–]Matt0864 5ポイント6ポイント  (1子コメント)

The code has issues that could definitely be improved, but not enough so that I'd say he's a bad dev. Definitely wouldn't be enough for me not to want to hire him, and we are very picky (not saying he's good, just saying it's not enough to make a judgement).

  • Using exit is bad (use xdebug and breakpoints to check if code is getting hit, exits often accidentally get left behind and are incredibly difficult to track down).
  • print_r isn't ideal, again, use xdebug and you have no reason for this. This one isn't too big of a deal but there's just no need for it and using xdebug gives you a lot more power to do other things with the array / object to test further.
  • Don't host wordpress inside of your application, use mod_alias on apache or similar. WordPress is notoriously bad for frequent security issues and should probably run as a different user or on an entirely different server.

I have a feeling the folder structure is more so to do with Zend Framework, but I'm not familiar enough to know for sure.

[–]Worblob [スコア非表示]  (0子コメント)

I was wondering how and why you would put a Wordpress installation into the public folder of your project.. What's the point of using it inside a framework anyway?

[–]kfausd [スコア非表示]  (0子コメント)

Well I see Zend code along with Wordpress code in the same project wich is bad. You don't need to use Zend to extend Wordpress core functionality. Also I see a controller named Update and a function called index inside of him, wich is bad. They should use a Controller Resource name like posts, users, etc. And inside of him functions like new, list, read, edit, etc. Also he is trying to debug using text flags wich is pretty noob. He should use unit testing. And he is trying to implement the Command Pattern in the bad way.

Edit: The function update looks like a utility class more than a controller, they should put inside another directory like Utility and give a representative name. Probably he use controllers because don't know how to access some resources exclusive for controllers like db abstractions. Also it looks like he is calling the inbox controller inside the update controller... He really need to take a OOP and Modularity course. And learn Wordpress.

[–]cruelfate 5ポイント6ポイント  (0子コメント)

FWIW .. it's a popular image, showing up in loads of "hacker" related news articles. The earliest still-standing Google image search results I found was from 20 Dec 2014 wherein attribution is given to Getty Images. Ya, so bravo to JetBrains (or whomever) for injecting that product into stock photo land.

[–]earlof711 28ポイント29ポイント  (10子コメント)

A highly-customized fork of Microsoft Notepad

[–]meeva 21ポイント22ポイント  (9子コメント)

No way. There is no fork of Notepad with a Night Mode. The technology just isn't there.

[–]earlof711 9ポイント10ポイント  (8子コメント)

Why so much hate for everyone's favorite IDE?

[–]Sassywhat 6ポイント7ポイント  (4子コメント)

Notepad is a text editor and stands with the true developer tools like vim and emacs. Calling it a mere IDE should be made punishable by death.

[–]earlof711 3ポイント4ポイント  (3子コメント)

How about if I call it an IDE 2.0? :-P

[–]Tannerleaf 1ポイント2ポイント  (2子コメント)

Doesn't have an "X" in it.

[–]skocznymroczny 1ポイント2ポイント  (2子コメント)

For me Notepad would be ok, needs only two features:

1) support for Unix endlines, lack of it makes Notepad useless for 90% of programmer work

2) support for bigger files without freezing

[–]afkiel 0ポイント1ポイント  (0子コメント)

They should just kill it already. At least 20 years with only token updates. That's about typical for soo much of Windows though. :|

[–]earlof711 0ポイント1ポイント  (0子コメント)

The line break thing is such a pain in the ass...

[–]Au70 9ポイント10ポイント  (2子コメント)

echo "banana";exit;

[–]afkiel 5ポイント6ポイント  (1子コメント)

After such a bold move what else can you do but exit? You can't top that.

[–]Au70 1ポイント2ポイント  (0子コメント)

I'd kind of expect to see a comment on the same line

echo "banana"; exit; //mic drop

[–]i_am_gq 3ポイント4ポイント  (3子コメント)

It's PhpStorm, like others have said. What show (I assume it's a show) is this picture from?

[–]rootusercyclone 1ポイント2ポイント  (2子コメント)

Looks like it's from a documentary or something

[–]Jonne 17ポイント18ポイント  (1子コメント)

that's a lot of code to just print "banana" on a screen...

[–]ilikejamtoo 5ポイント6ポイント  (0子コメント)

That's just there as a reference to check the output device DPI setting is as-expected.

Banana for scale, etc, etc.

[–]organic 2ポイント3ポイント  (1子コメント)

Looks like IDEA to me.

[–]avarus 3ポイント4ポイント  (0子コメント)

any idea? idea, yes.

[–]devhen 10ポイント11ポイント  (11子コメント)

Yep its PHPStorm. I've been using it for a year or two now but I just switched to Eclipse PDT which I highly recommend. Its free/open-source and it doesn't require the oracle version of java. I was happy to pay for phpstorm, its a fully featured and very capable PHP IDE, but I'll probably never pay for it again. I'm very happy with Eclipse.

EDIT: Sounds like others have had success using phpstorm with openJDK so disregard that comment.

[–]postmodest 15ポイント16ポイント  (8子コメント)

Did Eclipse PDT suddenly get magically better? I used it for years, then Aptana, and then finally gave up on it ever actually doing the things it said it would do (code inspection, reasonable-speed intellisense) and switched to NetBeans. After having NetBeans crash from eating up all my RAM, I moved to PHPStorm.

And I've never looked back.

Also, PHPStorm doesn't require the Oracle Java on OS X, and in fact they don't recommend it. I'm using it with thee Apple 1.6 and it's great. (Now, yes, when Apple finally releases an incompatible-with-their-own-Java OS X, then hopefully Oracle's JRE will support subpixel hinting for fonts--which they allege will come in ...uh... 10?)

[–]cptsa 1ポイント2ポイント  (0子コメント)

Yes. If you know aptana and have been using PDT still before that, you were using a very early version of PDT with a lot of bugs and performance issues.

In recent years (2-3) PDT did mature very well: stable and fast.

I'd give it a shot again.

I never used phpstorm, but reading all the hype I'm sure it is a much better product than eclipse PDT. That being said though, you'll also be perfectly fine with PDT :)

[–]devhen 0ポイント1ポイント  (6子コメント)

I've only had very limited interactions with Eclipse until recently so I can't say. All I know is that I'm happy with it right now (Eclipse "Luna" on Fedora 22) and I was very surprised at how little tweaking it required in order to be effective and familiar for me. It still required tweaking several preferences but even less than what was required on PHPStorm.

The previous version of phpstorm, version 7, worked with openJDK but when I upgraded to version 8 it stopped working and I found reports online that oracle java was required. This is only on Linux though, I have no Mac experience.

[–]roerd 2ポイント3ポイント  (5子コメント)

I have no problem using a current version of PyCharm with OpenJDK. I can't image any reason why it shouldn't be the same for PHPStorm, since that's basically the same IDE just with a different language plugin.

[–]devhen 2ポイント3ポイント  (4子コメント)

https://www.jetbrains.com/phpstorm/help/system-requirements-and-installation.html#d227867e215

I guess its a requirement specific to phpstorm (on Linux) which is strange, I agree.

[–]roerd 1ポイント2ポイント  (3子コメント)

My guess would be that it probably runs just fine with OpenJDK, Jetbrains just doesn't want to have to test it and therefore doesn't give a guarantee that it will run with anything else than Oracle's JDK.

[–]devhen 1ポイント2ポイント  (2子コメント)

Yeah that was my assumption as well but I wasn't able to run version 8 with openJDK. Now that I'm on eclipse I don't need oracle java so when I have some time I'll remove it and see if I can get phpstorm working. I'll be happy if it works. :)

[–]grthomas 1ポイント2ポイント  (1子コメント)

Wow, that's really weird. I'm running WebStorm without the slightest issue on Fedora 22 with OpenJDK.

[–]devhen 0ポイント1ポイント  (0子コメント)

Interesting, I may have just had some kind of issue with openJDK on f21. Disregard my comment. (And I'm happy to hear it works with openJDK, I'll have to try it again).

[–]samandiriel 3ポイント4ポイント  (0子コメント)

PHPStorm doesn't require the Oracle version of Java. In fact, in resolving a recent troubleticket they recommended uninstalling it and using IcedTea as that's what they test with on their Ubuntu boxes.

[–]quietchaos 0ポイント1ポイント  (0子コメント)

Yes, I will disregard your comment that Eclipse > IntelliJ, but not for that reason.

[–]theblood 2ポイント3ポイント  (0子コメント)

PHPStorm or WebStorm

[–]werdes72 4ポイント5ポイント  (6子コメント)

Pycharm or something from jetbrains.

[–]schplat 8ポイント9ポイント  (5子コメント)

Rather phpstorm since the guy is working in PHP.

[–]spazzman6156 2ポイント3ポイント  (3子コメント)

PHPstorm looks really similar to PyCharm

[–]schplat 5ポイント6ポイント  (1子コメント)

That would be because they're both developed by JetBrains. It'll look really similar to IntelliJ, ReSharper, and CLion as well.

[–]russjr08 3ポイント4ポイント  (0子コメント)

ReSharper is an add-on. :P

[–]afkiel 1ポイント2ポイント  (0子コメント)

A PyStorm sounds delicious.

[–]jasaldivara 0ポイント1ポイント  (0子コメント)

Also: PHPStorm icon in the picture.

[–]king_zjack 1ポイント2ポイント  (1子コメント)

CLion? Looks like one of JetBrains' product.

[–]panderingPenguin 6ポイント7ポイント  (0子コメント)

Does that look like C++ to you? :P Try again, it's PHPStorm. Although you were right about the JetBrains part

[–]CravingLogic 0ポイント1ポイント  (0子コメント)

I was about to say Android Studio til I saw .php lol

[–]Scellow 0ポイント1ポイント  (0子コメント)

It's the best editor ever, dady IntelliJ <3

[–]tau-lepton 0ポイント1ポイント  (0子コメント)

I do know that indexAction() does not do what one might expect.

[–]Battleroid 0ポイント1ポイント  (0子コメント)

PHPStorm by JetBrains. They have a bunch of IDEs for a variety of languages/environments. They're all pretty nice, if you have a student email address you can get the professional edition free.

[–]suspiciously_calm -4ポイント-3ポイント  (1子コメント)

ITT: PHP fanbois

[–]whelks_chance 2ポイント3ポイント  (0子コメント)

More like JetBrains fans, which is fine, because their stuff is awesome.