314 reputation
313
bio website skift.io
location Sacramento, CA
age 31
visits member for 3 years, 7 months
seen May 9 at 19:42

PHP, JavaScript, and Erlang web developer also working with some mobile apps.


Dec
19
awarded  Nice Question
Dec
19
comment Functional programming compared to OOP with classes
You don't always need an interface. But they are highly useful when you do need them. And IMO another important part of OOP. As for modules go in Haskell, I think this is probably closest to OOP for functional languages, as far as code organization is concerned. At least from what I have read so far. I know they're still very different.
Dec
19
awarded  Custodian
Dec
19
reviewed Approve suggested edit on Functional programming compared to OOP with classes
Dec
19
comment Functional programming compared to OOP with classes
@DocBrown after reading that question it does make some more sense. Although I do not think it is a duplicate, as this question is more pointed in how the organization is comparable to OOP, and how I would separate a 'module' like i would have an OOP class, from the rest of the code. while it does answer some question, it still seems like it has a different goal.
Dec
19
comment Functional programming compared to OOP with classes
Not 100% clear, but enough to see where you are going. I could see this as the 'animal' code in a given file. Also the part on branching/conditions is good too. I had not considered that as the alternative to if/else.
Dec
19
comment Functional programming compared to OOP with classes
Yes it doesnt directly answer the question, but still a great response. when i write smaller scripts or packages in python, i dont always use classes either. many times just having it in a package format fits perfectly. especially if i do not need state. I also agree that list comprehensions are damn useful as well. Since reading up on FP, i have realized how much more powerful they can be. which has then led me to wanting to learn more about FP, compared to OOP.
Dec
19
comment Functional programming compared to OOP with classes
Yes polymorphism is very important in OOP. I agree one of the primary benefits. But I also agree that oop still work well because of the other benefits as well. In all the frameworks and code repos ive worked on, oop is also used as a base to organize your code. Into things like models, controllers, and views. although there are other mvc like paradigms like mvvt, mvp, mvt, and so on. I still dont see yet how i would organize the code base in that same way. I know it wont be mvc, but i'm sure theres still some best practices for doing it.
Dec
19
comment Functional programming compared to OOP with classes
ill have to real a little more on haskell to understand thi fully, but i think i get the jist of it. im still curious though how this would line up with more a complex code base.
Dec
19
comment Functional programming compared to OOP with classes
Yes I am aware, but i am also wanting to know for intellectual reasons. I cannot find anything on the equivalent of object in functional languages.As for scala, i would still want to know when/where/how i should use functional over oop, but that IMHO is another question.
Dec
19
asked Functional programming compared to OOP with classes
Nov
18
awarded  Notable Question
Sep
21
comment Application Development: Python or Java (or PHP)
Which language? I have moved to using python, and using js for the front end stuff.
Sep
21
accepted Application Development: Python or Java (or PHP)
Aug
14
awarded  Popular Question
Apr
23
comment Webkit as GUI in .Net/Mono
Yea its not usually my forte either. I prefer going towards javascript and node.js. But I am having to learn c#/.net for work so I figured I may as well build a small project with it to help learn it. I think that .Net has some pretty cool features if I'm doing mostly windows development and web. So I'm trying to make use of what I know I will be using at work, which is a mix of web and desktop apps.
Apr
23
accepted What do you suggest for cross platform apps, including web
Apr
23
awarded  Scholar
Apr
23
accepted Webkit as GUI in .Net/Mono
Apr
23
comment Webkit as GUI in .Net/Mono
Although while I do want to do things server side (as users will by able to sync data to a central server and use the app online), I would be interested in knowing how you are using chromium. For me, the desktop versions would be basically a copy of whats on the server so it runs faster and does not have to wait for updates and they can use it offline.