Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: April 25, 2024, 4:09 pm

Poll: Will you use Swift?
This poll is closed.
I am Using it now
33.33%
2 33.33%
I am Learning It
0%
0 0%
I am Planning to Use it
0%
0 0%
I don't code or program so no
50.00%
3 50.00%
I am planning to learn it
16.67%
1 16.67%
Total 6 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming Language Swift Poll
#21
RE: Programming Language Swift Poll
When I have to develop a web application using Java, Spring, Javascript and a database I'm still amazed at just how complicated it is. It just feels like we're rehashing 60's technology but for web apps / portals / whatever you call them instead. Most of the time the only computation it really performs is to present fields to a user to be filled in with constrained values, perform queries and return results. I just can't believe that we haven't abstracted away the whole client / server / browser / database from the programming model in this day and age. I can see that's what technologies are trying to do, like Java and Spring, but what they actually do is just replace one set of boiler plate code with another.

I think the problem is that people create frameworks to make use of existing technologies which are actually too low level for the task at hand. What am I actually doing with Java and Spring to create a web site? I'm basically using a powerful language to stick the programming equivalent of Lego bricks, Meccano and Mega Bloks together using duct tape and string.

Take Java. Starts off a normal programming language, like say C++ but interpreted. Then people for some reason start using it to serve web pages. So along comes Enterprise Java, JSPs and Java Beans etc. People don't like this so Spring is invented. But this just means people create lots of XML files instead of Java code. So they try to do away with this by making everything auto-magical, implicit and impossible to debug. But this is only for the back-end though, browsers need client side scripting so Javascript is used but that's shite so JQuery was invented.

No. Just don't fucking use Java for a stupid website. Surely it's not beyond the wit of geeks to invent a single platform specifically for web browsers and servers that does away with all the patched on crap?

Still, at least it's better than having to deal with Bioinformatics code. Biologists who don't actually know how to program. The code I am refactoring now is no different to what you would get from the 80's. C code wrapped up to look like C++. Obviously loads of googling went on because they clearly did not understand why code fragments were being used. No classes. No encapsulation. No single point of maintenance. No coding standard. No abstraction. Why? Did someone actually teach themselves an obsolete language or was it some lecturer who has been stuck away for 30 years teaching their students this and not realising that the world has moved on?

Bioinformatics is heading towards the same software crisis that software engineers faced and solved 30 years ago because all the scientists just hack shitty little programs without a care in the world about someone wanting to make use of it after them. But that C code made to look like C++ is still preferable to the Fortran code that I very narrowly escaped having to refactor.
Reply
#22
RE: Programming Language Swift Poll
(November 3, 2015 at 7:17 pm)Mathilda Wrote: No. Just don't fucking use Java for a stupid website. Surely it's not beyond the wit of geeks to invent a single platform specifically for web browsers and servers that does away with all the patched on crap?

GWT.  

It still leverages things such as Javascript, but everything is written in Java - the client portion of the code renders HTML/Javascript from the Java .class files.  It's kind of weird, very capable, and I'm not sure if I like it or hate it yet.

ETA - I agree, using Java for a stupid website is overkill. Not for enterprise apps, though.
Reply
#23
RE: Programming Language Swift Poll
Personally, I don't think it matters what you use server side, because it's all just HTML once it leaves the mothership. There's nothing wrong with Java, or C#, or anything else that you can talk into pumping html files through teh interwebs.

It's the client-side that matters, because that actually DOES stuff. But it has to be severely limited, because if it isn't, then porn sites will destroy your computer 100% of the time. I think jScript / jQuery are fine for the stuff you actually need to do. When I want more, I'll write a native app that embeds a browser, and make people install it. Then, they get the same browsing experience, but I can add on whatever bells and whistles I like.

OR, and this is very possible, I don't know what you guys are talking about, and I'm just talking trash. Tongue
Reply
#24
RE: Programming Language Swift Poll
I'm using it for iOS programming. Previously I used Objective-C, but I found swift more "smart" because it has less syntax sugar and it allows you to write code way faster. I'm learning to make videogames with SpriteKit.
Reply
#25
RE: Programming Language Swift Poll
(December 2, 2015 at 4:04 pm)Ramy Wrote: I'm using it for iOS programming. Previously I used Objective-C, but I found swift more "smart" because it has less syntax sugar and it allows you to write code way faster. I'm learning to make videogames with SpriteKit.

If you want to make phone games, I sooo recommend Unity, as it's cross-platform and produces good results pretty easily.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  Here's a simple programming problem for you to solve ErGingerbreadMandude 44 4917 April 28, 2016 at 10:02 am
Last Post: ErGingerbreadMandude
  Programming Question Shining_Finger 8 1375 December 2, 2015 at 5:30 pm
Last Post: Tiberius
  Programming the Human Mind: Shining_Finger 21 4587 November 24, 2015 at 7:56 pm
Last Post: bennyboy
  Anyone into Android programming? emjay 97 18219 September 20, 2015 at 6:50 am
Last Post: bennyboy
  Advice Sought for Web Programming AFTT47 13 3280 April 4, 2015 at 10:41 pm
Last Post: bennyboy
  Multi Language Subtitle Files Darwinian 2 1171 April 6, 2012 at 4:49 pm
Last Post: Darwinian



Users browsing this thread: 1 Guest(s)