Additional functionality not defined in a class that the helper operates on.

learn more… | top users | synonyms

0
votes
0answers
36 views

Dataframe helper in R

In order to have a "unified" (I realize how ambitious this actually is) syntax when working on dataframes, I wrote the following functions that is a general purpose dataframe set of tools in R. ...
4
votes
4answers
191 views

Helper function to format-output any type of variable

This question has already got some reviews, so I could partially improve my code: please look at my self-answer below, which also contains comments about the review. I'm frequently interested to ...
3
votes
0answers
42 views

Refactored version of Okasaki's skew-binomial heaps in Standard ML

In his book, Purely Functional Data Structures, Chris Okasaki provides an implementation of skew-binomial heaps (p. 137). Unfortunately, the book isn't (legally) freely available anywhere, but his ...
4
votes
3answers
164 views

Facebook helper class

This is my initial Facebook helper class. Is this code efficient or is there a way to improve this code? ...
3
votes
1answer
323 views

Managing users and profiles in Rails

I am building a Rails marketplace application using TDD. I would like to get advice on the way in which I have built the User associated ...
4
votes
2answers
698 views

A set of Razor HTML helpers for disabling elements

I am developing a huge form with a lot of elements in it. The purpose of this form is editing one domain entity. Now, I finished developing the whole form and it just shows the bunch of text boxes, ...
2
votes
2answers
190 views

Performance of MySQL helper class for VB.NET

I have inherited this code from my company. It is acting as a helper class for a database and written in VB.NET until date. It is working properly and almost 5 to 10 commercial packages I am ...
2
votes
2answers
333 views

Generic repository object design + static DAL helper

I would like you to review the solution I came up with to the following scenario: In attempting to model a generic Repository object (that receives a generic type parameter) to interface with my ...
7
votes
1answer
434 views

A super string cleaner

I need a method that clean up a string considering these few rules: Remove or not Spaces Remove or not Special Chars Remove or not Numbers Descaptalize or not the string (this is don't really needed ...
2
votes
1answer
1k views

Custom HtmlHelper to render a Grid

I have created a custom HtmlHelper to render a Grid, and it's working fine, but I know for sure that it isn't written really ...
7
votes
2answers
3k views

SQLite Helper Class in C#

Here is a SQLite Helper Class I created. Any input appreciated, including security and simplification. ...
2
votes
1answer
133 views

Horrible case statement for displaying a title [closed]

This thing kills me: ...
0
votes
1answer
290 views

remove_prefix and remove_suffix functions

If the prefix/suffix does not match the beginning or the end of a string, then, depending on how I call these functions, they should either raise an exception or return the original text unmodified. ...
0
votes
1answer
2k views

Doing $_POST the right way

I am not sure if I am correctly handling $_POST data in MVC pattern: Dummy $_POST data ...
2
votes
2answers
1k views

Pong game in Python

I'm writing a pong game in Python and I created classes for the game objects. The top level class is Object, and Ball and <...