308 reputation
314
bio website skift.io
location Sacramento, CA
age 31
visits member for 3 years, 11 months
seen yesterday

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


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
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.
Apr
19
comment What do you suggest for cross platform apps, including web
I had asked another question based on this premise, and may end up using Webkit.Net, which could work perfectly in my case, especially since I wont have anything graphically intensive, just what you would see in a browser.
Apr
19
comment Webkit as GUI in .Net/Mono
As for 'Today I'd do something without IE/IIS and use websockets for a more interactive experience.' I am wanting to use mono so I can use .net and have cross platform support, as well as be able to host the site on something like nginx or cherokee if they have the mono support, otherwise apache. I don't know IIS and windows admin enough, but I know and have a linux web server. So far I won't have live user to user interaction so I probably wont need websockets. And DB synchronizing will be using couchdb. Though may look at websockets or socket.io later on when im doing more advanced stuff
Apr
19
comment Webkit as GUI in .Net/Mono
Hrmm, this seems like a solid answer. I'll wait a little bit to see if anyone chimes in as well before marking as the answer. But Webkit.Net looks like it might do the job. One of the links in theSO question you linked goes to a github repo CefSharp where he has a chromium instance embedded. Though I'm not sure if I will need the whole browser compared to just webkit. Ill have to look further.