you are implictly arguing that only seniors++ should ever blog otherwise FUD can be spread. I think everybody should blog and as a developer its equally important to learn evaluating ideas (called thinking and such ;))
@mark Yes that is highly annoying, as is the way it uses arrays for all the params which are similarly uninspectable. I think maybe you can work around it by using docblock on the specific Command class you've implemented to define some methods which PHPstorm will understand.
@beberlei right, and when some beginner that does not understand much in the field and can't see all the bs in front of him then starts spreading this bs everywhere will make it only worse
if you wrote a stupid article, @beberlei , I would simply tell you that said article is shit
while you might be a professional developer, you do not have a significant footprint in the community .. therefore the damage you can do is highly localized
@beberlei No, not everybody should blog. Being able to do awesome stuff is one thing and to teach others do awesome stuff is the other. I have seen lots of good developers who can't teach others because they lack of ability to correctly say what they actually mean. And if you are not senior++ you should not be blogging.
@tereško you are always welcome to write comments on my blog posts and disagreeing. you can do the same on this post. Sadly here the rule of bullshit applies, its always easier to produce then to refute, so you have to rely on people detecting this themselves.
@Danack I was thinking about that. But no way I'm gonna do this by hand. And then, it will only match method names but it's impossible for arguments because they're always passed in just on array. But then .. it's not so much different how the e.g. facebook api sdk works so ...
@beberlei Any blog is meant for readers and you should give a reader high quality posts to educate them, to make them better. If you are not better than them, how can you do that? For instance, what I do best as a programmer is application architecture, however, it would be funny if I started blogging since there's @ircmaxell (I don't even mention Martin Fowler) blogging about the same already.
@Leri Imagine you're decorating Martin Fowler's words of wisdom and spreading them to those less able to understand his words because they're earlier in their careers
@Leri i disagree. i like reading thoughts of developers of any level, to understand the POV or where they are coming from for example, also in terms of your example architecture, you could describe your thought process, or the problems you encountered.
it also allows you to enter a discussion with people that may have more experience, for example i make it a habbit to comment on Doctrine blog posts to help writer/readers understand our POV designing the lib or something.
@beberlei I prefer to read blogs written by people who understands what they say and add my 2 cents when it's possible. That's far better than writing non-sense and even worse giving others the wrong path.
And the latter happens all the time. Especially, for php
@mark It is one of the projects that I need to finish off and publish properly. If you wanted to start using it and giving feedback that would be some encouragement to do so. Basically it's at the stage where it works good enough for me.....now I need to make it good enough for others.
Additionally: "would not be as fast as an equivalent C program". I compiled mandel() using C (via PECL). It wasn't 25x faster, it was 75734.13830x faster (3000x with -O0). So no, you're way off from C speed.
@SergeyTelshevsky precisely
Am I the only one who thinks the current type situation in PHP is pretty much OK and wish people would just stop talking about it? ¯\_(ツ)_/¯
@cspray that would be enough for me to quit on the spot. It shows someone thought about it, then chose to actively ignore what the rest of the world did - or worse - simply compromised between 2 and 4 spaces. Either way, it tells you what you need to know about the code base and those who built it..
#PHP RFC now in voting: https://wiki.php.net/rfc/remove_php4_constructors
There are a lot of RFCs right now, so this will stay in voting phase for 12 days.
Good day everybody. Does anyone know literature which discusses advantages and disadvantages of web and desktop versions because I find a lot of articles on the web but I need a bit more accredited material which I can quote. What is acceptable in your opinion?
I ended up with: $('.modal-cnt-actual').html('@Html.Raw(Html.Partial("~/Plugins/Payments.BankRepublicInstallment/Views/PaymentBankRepublicInstallment/_InstallmentForm.cshtml").ToString().Replace("\r\n", "' +\n'"))'); Well, f* asp.net mvc. :-)
@GordonM you are correct that it is based on context, but I need it specifically for web applications built for management. So most of the operations is inputting/processing company information, so I am talking about SaaS in the general sense. Here is a picture for reference evolution-framework.com/modules/m_gui_web/media/image007.png
@Fabor Apparently some kid got tricked into screen sharing his game with a troll on the internet, who then deleted his characters: youtube.com/watch?v=_QwERUow9lY
@FlorianMargaine not really… exceptions indicate where they're thrown… In case of an exception, at least I usually start by looking at where the exception was thrown anyway.
Actually (@JoeWatkins) I was asking what the use-case was for "> Yes. you are able to eliminate your own assert() functions in namespaces.", not custom exceptions.
inside "anamespace" a call to assert(), will invoke anamespace\assert() if it exists, not many people call internal functions with the prefix \, so we need to handle a call to anamespace\assert like we do to \assert
(which is working around the fundamental flaw in the namespacing system that non-namespaced calls are ambiguous whether they want to access from current or from global namespace)
Which sadly seems to late to fix today because BC. (maybe it's even not so much BC, but it still has a heavy impact)
JIT has the option of using runtime information (such as the type of variable being passed) to generate optimized path for that type, or all types. AOT doesn't have that (runtime information), it needs to reason about types statically (before runtime).