Stats: 3,249,431 members, 8,140,794 topics. Date: Monday, 21 April 2025 at 04:43 PM |
Nairaland Forum / Fayimora's Profile / Fayimora's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 42 pages)
![]() |
Ah! I remember that thread. Sounds to me like you just glanced through Scala, if at all you did. First off, read some of these case studies @ekt_bear You have worked with Java and Ruby(and rails I presume) like me. You now work with Scala too. Care to give a brief testimonial? lol Seriously though, if you REALLY want to make money, then you want to build Reactive systems. That is, systems that are Event Driven, Scalable, Resilient and of course, Interactive. This is what Scala + Akka provides. Ask yourself this question, how much more would I have made if my previous apps had the attributes above? If you are complaining about your compile time, wait until you start running tests in Ruby lol or apps start failing for silly reasons in production(something that could have been caught by a compiler). Also, there's a lot you can do to cut down that compile time. I don't know any JVM based app that takes 45mins to compile and I've seen/worked-with very very large JVM based apps at Company X. At the end of the day, it's really up to you. P.S Scala is not a framework ![]() |
![]() |
I think you have gotten yourself confused. If you look at the code above properly, you'll notice that the recursive function is the inner function. I could have used that function but I simplified things with a wrapper function. recursion a function that calls itself until a base case is reached and after each call it gets closer to the base case. Do tail recursion in Java with one method, then we will know it's same cause obviously that scala function used two methods one embedded in the other.Don't forget that the function can also call other functions in the process ![]() btw if someone says recursion i guess they are not talking about tail recursion or tail call optimization.Err that's like saying when someone says food they are not talking about Rice. Rice IS food! OR When someone says water, they are not talking about Sparkling water. Sparkling water IS water. If you tell me to write a recursive function R to perform task T, I would write that function as I please. Tail recursion IS recursion. If you do not want me to use a certain type of recursion, then you have to specify it. |
![]() |
From Groovy to Ruby. Hmm not much of an improvement there. I'd rather use Scala. Don't get me wrong, Rails is good and I use it myself but you can't beat the Scala + Akka + Play! Framework combo. @ekt_bear I think you can accept the "long compile times" considering you have a Unified and amazing Type system/checker. However, I read somewhere(Typesafe blog maybe) that things are going to get better real soon. The only 'problem' with Scala is its binary incompatibility but thats another discussion entirely. What packaging problems are you having? Are you working on a Play! app or just plain sbt project or not using sbt at all? |
![]() |
You probably wouldn't listen to what I have to say but I'll say it anyways. 1. Why develop for a platform you don't have full access to? What happens when you need to provide a hotfix? That's just 1 instance! 2. You DO NOT want to give ANYONE your private details. Trust me, you don't. |
![]() |
megaplaza: he didnt mention tail recursion ok huh? So you saying tail-recursion isn't recursion? lol |
![]() |
megaplaza: Recursion over Iteration Sorry but that statement is technically wrong! To prove my point, how does your 'conjecture'(emphasis on conjecture) satisfy a recursive function that does not add a new stack frame to the call stack? ![]() |
![]() |
Ymodulus: the following programmers . Not sure I understand your post but I'm interested in this statement. I really love Ruby. I have nothing much against Java but I use Scala instead now as it's ... oh well |
![]() |
Ok I'm going to be blunt on this one, I think your question is a You can't just go and study "Internet Marketing" because some bloke on a forum says he is making a buck load of cash after studying it. Life is not that simple and when it comes to anything related to technology, I'll advise you 'check' your passion. What I'm saying in summary is, you should know what you are interested in. |
![]() |
I agree! An ORM is amazing until it starts getting in your way, which is inevitable. |
![]() |
Seun:Cool thanks! @lordzouga I understand what you are saying and I'm pretty sure Seun does too. However, you don't hire folks that can use ActiveRecord, SQLAlchemy. You hire folks that can write SQL. |
![]() |
so much talk and no applications yet. @Lordzouga you shouldn't be using an ORM if you don't understand SQL.. I've always wanted to help improve Nairaland for free but I'm sure @Seun will not be interested in working remotely. Any reason why there are no specifics on the skills required? I'm sure some folks wouldn't care but its worth mentioning if you need an intermediate Scala programmer or an expert in Haskell and not just someone who can build websites in "any programming language" 1 Like |
![]() |
@kambo I feel really sorry for you! For the record, 80% of my posts on this forum were made from my phone or iPad so that's not an excuse for your lack of style. I will love nothing more than to show you how bloated and meaningless your posts are but I have better things to do. Time to stop derailing the thread folks |
![]() |
kambo: Yeah right. Assignment/schul wrk indeed. Who told u i cant wrte a linked list? I write it 4 fun in java but my ruby code aint compiling! The fact that you can say your Ruby code ain't compiling obviously shows that you don't know what you are doing. Do yourself a favour and ask for help properly if you need it. Pretending to be some genius isn't going to help you. |
![]() |
Therages: @fayimora i know ember is very good, but that article is a bit biased mostly the examples. I think you should google "AngularJS vs EmberJS" and read few of the articles on it. i realy appreciate anweres from stackoverflow.Yeah i've read as much as I can. I've had a chat with folks who use Angular and they agree with me. The only thing I know Angular beats Ember at is testing support. Angular does dirty checking, that I really don't like! I'm not a fan of littering HTML with "directives"! |
![]() |
Yo @kambo, do yourself a favour and collect your thoughts PROPERLY before posting if you want lads to take you seriously! It's almost like you just type as you think. Way too long text or even worse, poorly formatted text just aches my eye balls |
![]() |
Therages: @fayimora , u can organise ur code using RequireJS. Check out seed-project on github, its like a boilerplate for Angular & RequireJS Configured for easy unit testing.Yeah, I know that but that's not my point! Watch this and read this to understand what I mean. 1 Like |
![]() |
I prefer Ember anyday, anytime! Angular is nice but it gets really disgusting as the app grows. |
![]() |
javadoctor: Kambo is usually good@ saying rubbish,I'm practically lostLOOOOOOOOL!!! |
![]() |
gistme24: In the Nigerian Context, things are always a bit different. Sorry about that mate. That's really sad! |
![]() |
Getting a mentor is almost a breeze...if you do it right! Firstly, you have to let folks know what you are interested in(Web/Mobile apps, Games e.t.c) and what type of projects you'll like to work on(optional). |
![]() |
Why not look for something affordable with good support? What's your stack like? Heroku might be worth looking at. Digital Ocean offers a nice VPS with 20GB SSD and 512MB for $5 a month. If you are hosting basic webpages and all that PHP crap, iPage is a good one @ £1.99/month |
![]() |
And how exactly will you rank ICs in other to pick "the most popular one"? Seems like you are asking the wrong question |
![]() |
What does IC stand for? |
![]() |
haha IRC Client should be fun. Scala has a wrapper around swing for GUIs but of course, most folks have a web/mobile-based front end. As for networking, you can simply use the already established Java libraries. There's also Twitter's Finagle and TypeSafe's Akka which can be useful. I haven't really used the former before but I have some understanding of the latter. |
![]() |
ibrodex:I guess they see the project as a burden. Projects are meant to be fun. A project should be something you use to show your understanding of a subject matter. I'll insult the hell out of anyone who gives me his/her project to work on. Of course I'm more than willing to HELP along the way but work on the whole project? F U! lol |
![]() |
Actually, what he said was he wouldn't have created Grails if someone had told him about Scala. Personally, I think that's more than enough reason to skip grails and just learn Scala. |
![]() |
Yeah he has been using that as a base for everything ranging from the lectures to presentations in conferences. You might want to get a copy of that. I'm waiting for an update though which is long overdue. If you are free, we can pair program this weekend for a while. Maybe build an app or just solve some problems. Do you have a GitHub account? |
![]() |
You are really enjoying your journey into Scala. In terms of efficiency, I think in most cases it's not a problem and when you have to, you can simply use the mutable collections. One thing I always try to remember is what Knuth said regarding efficiency. "Premature optimisation is the root of all evil." I do not think about efficiency until I have a problem AND can prove that my immutable DS is the bottleneck. At the end of the day, it kinda boils down to what you are willing to trade-off. I suggest you actually do the exercises in that course. The in-video exercises are nice but not challenging enough. Streams are nice but I hardly use them. I only started REALLY appreciating Scala when I started using it for programming competitions. It saves me loads of time! Most importantly, I focus more on the problem which is something you can't really do with non-fp languages. |
![]() |
Hmm I guess we are talking about FP and Scala in general then. I like the worksheet but I hate IDEs so I only use it in certain circumstances. Specifically, when I'm showing off Scala ![]() |
![]() |
I write ruby too but mostly for CLI scripts and web apps. I'm with @ekt_bear on this one though, figure out your assignment yourself ![]() |
![]() |
We can talk about this(web languages) on a new thread. Create one and ping me. This thread is for Type Inference, sorry ![]() |
![]() |
typical programming is learnt in a desktop mode first b4 proceeding to web ,mobile aspects. in this way, most programmers who learnt how to program by writingThis statement couldn't be more wrong! Except you have proof that this is true, you are very wrong, sorry. I have friends(devs) that learnt how to program with Javascript on webpages. Now they write ruby, python and even Scala. I know someone who learnt how to program by writing mobile apps. Not everyone starts with C and family. when one wants to display some gui and needs to go fishing for some library somewhere it increases the resentment and disgust for the particular language.I have never resented a language like Ruby for not having something like swing and I don't know someone who does. languages with inbuilt gui's ar just mor appealing. this is one reason languages without easy gui support may be unattractive to those spoiled by everything within reach languages.Spend some time reading this statement and you eventually understand why it is too wrong! The rest of your post shows you did not really read my previous "essay". NOBODY, looks for a language that has everything they want. Funny enough, even my small apps are always comprised of about 2 languages minimum. You need to do some concurrency/scheduling, get an Erlang expert to write a middleware. You need to write an SPA, get an EmberJS/Angular/Backbone expert. That's how the industry works now bro! |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 42 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2025 Oluwaseun Osewa. All rights reserved. See How To Advertise. 67 |