1,138 reputation
39
bio website
location
age
visits member for 2 years, 5 months
seen May 8 at 15:52

I'm a classical guy with some sense to frontend.

I have a separate opinion on Agile, SCRUM, TDD. I don't think they're that cool.

I'm a big fan of RUP and UML, although nowadays I use this more in UX design than in classical software design as that has largely vanished. I still design my own code before writing

I use dynamic languages like JS, Python and PHP to get my job done. I don't believe that explicit static typing helps you as much as it hurts. When it comes to statically typed languages, my expertise is mostly in Java, albeit haven't used it in production since the Java EE years.


Aug
18
comment Javascript simple code to understand prototype-based OOP basics
BTW, one thing classical inheritance got wrong is to totally separate methods and properties, on a Neumann-architecture machine (ARM, PowerPC, Intel), it's meaningless. This is something that JS does well. And these were very good questions to illustrate how proto-oop works.
Aug
18
comment Javascript simple code to understand prototype-based OOP basics
@WorldEngineer - the question was about prototypical inheritance, of course, everyone has their own expectations on how inheritance works. My personal opinion is that classes are needed, have deep roots in human psychology and prototype is a wrong way, but if I had 2 cents for every dev who doesn't understand prototypical I'd be a millionare, so it's worth answering it again and again.
Aug
17
comment Javascript simple code to understand prototype-based OOP basics
@WorldEngineer the original question was perfectly answerable.
Aug
17
comment Javascript simple code to understand prototype-based OOP basics
@EduardFloreniscu: I did answer the original version.
Aug
14
comment Best Practices when extending a project
See, I did complete refactors on Alexa Top100 website... and it's an e-commerce site (hotel bookings), so it was important not to break, but I had to refactor a few thousand lines as noone else dared to touch it, when it was only 200, so they only added their stuff when change was needed...Oh, the code was in Italian, I don't speak Italian. The fully refactored (not rewritten!), English, MVC code went into production a week later, and it does still run. Oh, and it was in PHP, forget Eclipse's analysis. Courage and knowledge can help code quality.
Aug
14
comment Best Practices when extending a project
The idea is to avoid the risk of breaking something and not knowing why - this is a bad advice: this is what makes code grow like spaghetti. You have to create an environment where there's OK to break something and you have meaningful feedback (sometimes even at the cost of some angry minutes from the users), otherwise you'll ruin the source code in days. Perhaps ask some users to use a test version, as the users are the main source of how the thing is supposed to work, the only problem that they can only tell you this when it doesn't work that way.
Aug
14
comment The different types of CMS - Pros and cons
@AndrewFinnell: No, the problem is that the total cost of ownership, given 3 change requests is between at least 150-200% of any other solution, while usually the flexibility of the service provider is lower as they have nothing to fear - they can say easily, "it can't be done". Listen, you might be part of this business as well,I'm not, I'm doing a totally different business, and ocassionally help out small companies for an insignificant amount of money or even sometimes for free on the CMS business with advices (no code!). For a SMB, 200% price is scam, even if you call it profit:(
Aug
13
comment What do you call classes without methods?
@Falcon: I gave up on Java and moved to different languages since then; I don't think a term like "useful boilerplate" actually exists: for me, the term 'boilerplate' is a synonym for 'language design error', and java had too much of it for my eyes. Exactly these boilerplates make java development slow and impossible without an IDE. On DTO: I strongly believe in separation of data and behaviour, and I think a mix of the two should be the special case, not the norm - it extremely depends on situation of course..
Aug
13
comment What do you call classes without methods?
@KarlBielefeldt: in one glassfish version, I had a single exception in a setter code as a test (without conditions), which never executed. The property had a private variable and two public getters-and-setters. The container simply circumvented the setter. If something actually has an invalid value, personally I prefer type classes instead of primitive values, but maybe that's just me.
Aug
13
comment The different types of CMS - Pros and cons
@CesarGon: sorry, in my country, this "we host our own CMS" approach has left 3 of my partners out in the dark and the costs of a single new module were always above half of that a complete new system from scratch (but never 100%, they ain't stupid). Perhaps it's not a scam per se, but in Hungary, this is actually a business model
Aug
13
comment 1 to 1 Comparison and Ranking System
I was thinking of the Schulze Method or any other Condorcet method instead, but in this particular situation, perhaps the Elo system would do as there's a clean winner and a clean loser on each pair (and it was also used in facebook's origin, facemash)
Aug
13
comment What do you call classes without methods?
I discourage everyone to do classes with only public getters/setters in java, it's brain-dead and some containers won't even run the setter/getter code (looking at Glassfish...), so either it's the default or you have a bug. I don't believe that OOP encapsulation was right, it turns out, most of the time, in most of the applications, DTOs are not only needed, but they're the most often used classes. So they're anything but antipatterns, I'd use the word "basic building blocks" instead.
Aug
8
comment JavaScript vs third party libraries
Tell me how does jQuery stop people to shoot themselves on the foot please? As I feel sometimes they shoot themselves on the foot with jQuery itself (eg, chaining is a perfect weapon to kill your code-maintainability.) I'm not saying it can't be used for good purposes, but as you know, guns don't kill people.
Aug
6
comment Is it true that “Real programmers can write assembly code in any language.”?
I'd rename the "no true scotsman" to "you're not Agile enough" ;)
Aug
6
comment Does current JIT optimize generated machine codes for branch prediction based on runtime statistics?
I think HotSpot does this, but also the CPU has dynamic prediction technology since Pentium II, so if it made the wrong decision twice, it'll correct itself at the third time if it's let to recognize the context.
Aug
5
comment How to document and peer review design in scrum?
Ah, an Agilist! :) As I stated, it doesn't matter if you do Agile right as long as your software is cool for its users. Look at Nokia: trust me, they do Agile right, they do TDD, they do everything, still, their software is bad and noone wants to use it, even themselves. And there's a threshold where I integrate / invent a new language in order to have a much clearer representation; that's about 2000 lines. For a single module, I might not change from the team's general language of choice to a different one, or build a translator for it. Sometimes UML is better anyway, as it's 2D and visual.
Aug
5
comment How to document and peer review design in scrum?
Yes, it is.. and IA (Information Architecture) and ID (Interaction Design), whatever... the thing is that creating software is about solving human problems with computers. Therefore, you need psychology and CS to connect the two ends. Programmers didn't want to deal with design, they preferred solely coding instead, and therefore new people came to the scene who actually do the design. They're not as good in technology, and that causes problems a lot of times,but design has to be done. if programmers aren't willing to take it, then the artits will do
Aug
5
comment Smalltalk Beginner needs help
@user60812: What we actually do with classes is usually modularization. Albeit the smalltalkish OOP is a nice philosophy, in practice, we have chosen the dahlean OOP instead, which is part of the structured programming discipline, not the "true" OOP.
Aug
5
comment HTTP PHP Authentication and Android
OAuth 2.0 perhaps not, but all authentication schemes get convuluted in very-very-very short time (SAML, WS-*, HTTP, they ALL wanted to be simpler than their predecessors, and all of them were marketed this way). OAuth 1 is easy and logical
Aug
4
comment How to prevent intentional over-estimation in user stories?
"then you have people that consciously go against agile development, and those people should be handled appropriately" - hanged, drawn and quartered? Those bastards! They don't agree with the Holy Way! How could they let to be born on the surface of this Earth? Down with them at once!